Networking :: SSHD Different Settings Depending On Network?

Feb 19, 2010

is it possible to specify differnt settings for ssh depending on where somone is logging in from basically i want PasswordAuthentication yes when someone is logging in from 192.168.*.* but set to no when logging in from anywhere else

View 1 Replies


ADVERTISEMENT

Networking :: /etc/resolv.conf Search Line Depending On Connected Network ?

Dec 14, 2009

I use my laptop both at home and at my job. At home it gives me the correct search line.

But when I am at the office I only get 1 search entry while if you boot in windows it gives you 3

(for example):

So this should be in /etc/resolv.conf search domain domain.com my.domain.com

It seems that this is not passed by the (Windows) dhcp server (Active Directory).

Is there any way that linux can detect depending on the network it is in that there are a few search domains added(for example like resolvconf does with ppp tunnels)?

View 4 Replies View Related

Networking :: Selective Dns Server Depending On User?

Jul 22, 2010

configure which dns the system will consult depending on which user iniciated the request.My goal would be, if user "peter" is logged in and has opened the browser, that requests for name solves from that user goes to certain/s dns server/s. And if user "anne" is logged and request name resolution, that request should be done to another dns server.To say it briefly, the idea would be configure selective dns server use depending on system users.

View 13 Replies View Related

OpenSUSE Network :: Sshd Not Starting On Reboot?

Oct 6, 2010

I have an openSUSE 11.1 and I noticed that after installing a couple of things on it the sshd is not starting anymore on reboot. how can I debug this problem. Is there a log file so that I can see what was the problem? If I want to use ssh I have to start it from yast every time the computer restarts.

View 7 Replies View Related

OpenSUSE Network :: Sshd Not Starting On Boot?

May 21, 2011

Running 11.4 x64, I've tried everything I can think of (which is not saying a lot) but I can't get sshd started on boot. Running /etc/init.d/sshd starts the service manually with no problem but I really need it started on boot.

I can't find anything different when comparing this instance with other similar instances where sshd does start but this instance is an update from 11.3 where sshd was not enabled and the others are all clean installs where sshd was enabled during installation, if that makes any difference.

View 9 Replies View Related

Networking :: DNS Settings On A Local Network

Dec 14, 2010

how to resolve an ip with a port in linux?, how to include this on the dns. So the user don't have to remember the ip address and the port. like the user will only type http://scanfiles then it will resolve the corresponding ip. is it possible?

View 3 Replies View Related

Ubuntu Networking :: TCP/IP Settings For An Isolated Network?

Feb 21, 2010

small non-profit set up an isolated network for a classroom, not connected to the Internet. Most of the computers are old second-hand systems, made usable by running Linux, the one new computer can dual boot Ubuntu and Windows. I think the most light-weight approach would be to use one of the network numbers reserved for private use, assign static IP addresses, and host names in a hosts file, rather than relying on DHCP or DNS, because this wouldn't rely on any servers. But, even so, I expect to have to configure _something_ for the IPs of a gateway and DNS servers when we set up the static IP settings.what would work best for these settings?

The best guess I can make would be to list a real system with a tcp/ip stack that wouldn't be too tightly firewalled, so that requests would get promptly rejected (or handled if there is a trivial way of doing so), rather than timed out. But, I'm looking for more specific advice of what works on practice. (I'm familiar with other flavors of Unix/Linux, and TCP/IP in general, mainly from running applications on servers, but I don't have much experience on Ubuntu.) These systems would be on Ethernet switch, but I don't think we can count on any router appliances. I suppose one of the spare computers could be dedicated as a minimal router. The objective of all this networking is to set up print sharing and perhaps file service, using one of the better computers as a server.

View 2 Replies View Related

Ubuntu Networking :: Lost Network Settings

Mar 25, 2011

My first post. I lost all connections to the internet on my Linux Box Yesterday. I have checked my broadband connection and router. OK because I am using them to sent this from my laptop. I have 2 ethernet cards - no indication of a problem with either so I suspect for reasons unknown I have lost all my network settings. The Desktop User Guide says go to the Network Settings Window. I used to have a widget on the Menu Bar which enabled me to check the settings but for some reason it vanished a month or so ago and I can't find how to get it back.

PS In the meantime I am stuck with this crummy Microsoft box the interferes with everything I try to do.

View 3 Replies View Related

Fedora Networking :: Network Manager Settings All Grayed Out ?

Mar 10, 2009

I'm running Fedora 10. My Network Manager settings are all grayed out. They are uneditable. I can see the detected settings, but not change them. All of the settings fields are disabled.

Is there a way to enable these, so that they can be edited?

Starting with the menu in the upper left corner of the GNOME screen: System/Preferences/Internet And Network/Network Connections

The Network Manager window appears correctly.

I see all automatically generated settings that were created for my various devices:

In particular, I want to be able to edit "Auto vmnet8", for VMware usage.

I know about the workaround of going back to the manual network configuration as used in older versions of Fedora, such as editing the files in /etc/sysconfig/network-scripts/ifcfg-* and then enabling the old "network" service and disabling the "NetworkManager" service.

However, this workaround really won't work in this situation. The VMware interfaces, vmnet1 and vmnet8, are virtual interfaces that *only* exist when the VMware services are running. The VMware services are started *after* the old manual network configuration would be applied. So, at the time the scripts in /etc/sysconfig/network-scripts are processed, the vmnet1 and vmnet8 devices do not yet exist! I'm hesitant to change the numbering of services, lest other things break (VMware on Fedora 10 is rather fragile already).

I love the feature of NetworkManager to be able to automatically apply settings to newly materialized network devices (such as vmnet1 and vmnet8 when VMware is loaded). However, I need to also be able to edit those settings.

Is there a solution that will make my Network Manager "Edit" window not be entirely grayed out? I can see the settings pages just fine, but unfortunately, they are all disabled and I can't edit them at all.

View 11 Replies View Related

Fedora Networking :: Manually Configuring The Network Settings?

Mar 12, 2009

Does anyone havea good tutorial on Fedora's network scripts, how to edit them, in what order they are called, etc. What I want to do seems simple, but something in the bootup keeps changing it. Right now, I have an image of Fedora Core 7 created in a server with 2 Ethernet cards. I need to specify static IP addresses for each card. Thats simple, and I did that. Now, heres the tricky part, I need to be able to clone this image and place it onto other exact duplicates of the hardware, and have all of the settings stay the same.

What happens here, is that eth0 and eth1 are stored somewhere as devices, and upon boot on a different machine, the Fedora will mount new network cards(different MAC addresses) as eth1 and eth2. It then mvoes my ifcfg-eth0/1 to a backup, and creates two brand new network setting's files, which initialize to DHCP. This creates an issue, becuase these machines do not have monitors nor keyboards attached, nor is their a DHCP server, so its a pain when I swap the machine out, to have to go in with a keyboard/mouse/monitor and reconfigure the network settings before I can connect to it over the LAN.

So does anyone have any advice on how to do this? No matter what i tried, booting the image in a new PC caused Fedora to create two new devices and create brand new network settigns for them, both initialized to DHCP. Hell, I wouldn't care if it created brand new devices, if it would initialize them to static IP addresses that I am expecting.

View 1 Replies View Related

Fedora Networking :: Wireless Not Showing Up In Network Settings

May 29, 2011

Well when I first installed fedora 15 my wireless internet was working fine, and then out of the blue the option to select a wireless network wont show up.

Im sorry to be one of those people who register and there first post is a question, but since fedora 15 is new I couldnt find any information on my issue.

So basically, If I go into Network Settings I have two choices in the left hand tab. Wired, and Network proxy. Yesterday I also had wireless, Since the issue I have updated everything but still have no luck.

I am having this issue on a emachine em350 netbook, I am unable to post a link to it as I get a error since im new and not allowed to post links.

View 5 Replies View Related

Ubuntu Networking :: Getting Vmware Guest Network Settings?

Apr 9, 2010

I am not able to connect to the internet via Ubuntu guest in Vmware Workstation. Here is the ipconfig:

Here is the ifconfig -a:

I have the vmware os settings to connect through a nat connection and I am able to ping domains however I am unable to open a page in either firefox or chrome.

View 1 Replies View Related

Ubuntu Networking :: Reset All Network Settings To Standard?

Mar 11, 2011

Is there a way of resetting all of the network settings to standard, as if a fresh copy of ubuntu had just been installed? The resulting discussion trouble-shooting the OP's specific problems were detailed and informative, but failed to answer the fundamental question:

View 7 Replies View Related

Networking :: Multible Network Interfaces, Router Settings?

Nov 19, 2010

I have a Debian machine up and running with tree network interfaces. This is what i want it to work with.

eth0 = dhclient from ISP (external)
eth1 = acting as dhcpserver with iptables, for sharing eth0 to "int network A)
eth2 = dhclient to connect to an netgear router that has similar ip adress suffix as eth0

[code]....

View 3 Replies View Related

Ubuntu Networking :: Network Adapter Power Management Settings

Jan 16, 2010

How do I set the network adapter power to maximum? In windows, this can be easily set under device manager --> hardware --> ..power management.

View 2 Replies View Related

Ubuntu Networking :: Command Line Control Of Network Settings

Mar 10, 2010

I frequently ssh into machines to do work. In some cases, the machine is headless so there is no option to log in.Under Debian and on older versions of Ubuntu I would pull out the avahi and network-manager packages and manually configure the interfaces file to my liking and be done with it.However, I would now like to learn how to work within avahi/network manager. So, is there a doc somewhere explaining how to work with modern Ubuntu networking at the command-line level? Ie: Setting up a wireless connection, setting static/dynamic IPs, etc?

View 3 Replies View Related

Ubuntu Networking :: Wired Network Settings Lost On Reboot

Jul 30, 2010

I have installed Lucid in a new laptop. Things are running OK except for the following problem:

I connect to the network/Internet using Wired ethernet (TCP/IP) with static IP. Everytime I reboot/restart my network configurations are lost and I have to re-configure. I have googled this problem and have seen a few posts/bugs in launchpad etc. for what appears to be the same issue...but unfortunately I am not getting a clear solution to this problem.

Just for clarity, I am using the following commands to re-configure my network everytime:

Also note that I have already tried editing the /etc/network/interfaces and the /etc/resolv.conf files. But it seems that these are not being picked or are being overridden.

View 2 Replies View Related

Networking :: Network Very Slow If Static Ip Settings / But Fine With DHCP

Jan 27, 2010

I've been using slackware for many years. I think I started with Slack 8. I know how to configure the network, I've had this same POS Dell computer for a few years now but the other day I tried to go to a different distro (first mistake) everything worked fine but it was not for me. Once you go slack you never go back! Anyway I had slack on here prior to the change and it all worked fine. I'm running slack 13 and all of a sudden my network is slow as balls! I set it up as I always have so I did some research and tried a few things, nothing worked. So i enabled DHCP and its fine now.. I have a dell xps 420. onboard intel nic. worked fine when i first installed slack 13. Anyone have any clue what to do? I would like my static IP on this machine.

View 6 Replies View Related

Ubuntu Networking :: Connect To Wireless - Settings In The /etc/network/interfaces Are All Messed Up

Feb 17, 2010

the default for /etc/network/interfaces? I believe I screwed it it up because I can detect my wireless, it just won't allow me to connect to it. The settings in the /etc/network/interfaces are all messed up. I'm running Ubuntu 9.10.

View 2 Replies View Related

Networking :: OpenSuSE / Yast / Network Settings: Gateway Eth0 Through Wlan1?

Dec 16, 2010

I have a laptop running OpenSuSE 11.2. I use the Yast menu to set up network settings via "traditional" ifconfig setup (not NetworkManager), because I found NM unusable in prior releases when doing network gymnastics such as router re-flashing, LAN reconfiguration, etc. where I needed control of the IP address, netmask, DHCP, tftp, etc. My laptop works fine with Yast "traditional" ifconfig configuration for eth0 connected to router to Internet. Works fine with Yast ifconfig configuration for USB WiFi as wlan1 to WiFi router to Internet. Also works fine for virtual machines on vmnets NAT-ed to the Internet. Works fine as long as there is only one network connection, that is.

Now, I have a second laptop. I want to network laptop #2 eth0 to laptop #1 eth0 for file transfer and/or Internet access WHILE laptop #1 is is linked to the Internet through wlan1. Unfortunately, I have not figured out how to get Yast/Network Configuration to do that. I have not been able to get Yast/Network Configuration to see both wlan1 and eth0 at the same time--when the Yast utility finishes, I do >ifconfig and >route, and I find that I have lost either eth0 or wlan1. Thus, when I do direct-connect file transfers, I loose the WiFi Internet connection on both machines.

I suspect that it might have something to do with Yast/Network Configuration utility not being able to handle two network interfaces on the host with different IP addresses. how to properly put an OpenSuSE machine on two networks simultaneously? And then how to turn on IP forwarding so that I can use laptop #1's WiFi as an Internet gateway for laptop #2?

View 1 Replies View Related

Networking :: No Sshd Access From Outside LAN?

Jan 19, 2011

I can't ssh into my Dad's machine. He can ssh in from another computer on his network, but I can't get in across the internet. I thought we had port forwarding set up correctly on his router. (Westell 327W running verizon software - sshd application, port 22 to port 22, tcp).

I can exchange keys with his server but I get. "Permission denied, please try again" when I try and login. An nmap scan (with -PN option) on his IP shows the open port.

PORT STATE SERVICE
22/tcp open ssh

View 8 Replies View Related

Ubuntu Networking :: Wired Network - Can't Get The IP From Dhcp Server (TW-EA510) And Static Settings Doesn't Work

Feb 16, 2011

I'm having mysterious wired network problem with my Karmic/9.10 machine. It hasn't been in network a while, but now I finally got the cabling done. I can't get the IP from dhcp server (TW-EA510), and static settings doesn't work either. Fresh cabling showed OK 1Gb connection on tester, and win7 laptop works fine. I even tried with long cable though the rooms, but it doesn't help, so it definately isn't the new cabling.

Log from the router after issuing #"dhclient":
Feb 16 23:01:43 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0
Feb 16 23:01:43 DHCP SERVER: DHCP offer to 00:01:29:fb:c5:d1
Feb 16 23:01:49 DHCP SERVER: DHCP request from 00:1b:ea:c8:a0:ba
Feb 16 23:01:49 DHCP SERVER: DHCP ack to 00:1b:ea:c8:a0:ba
Feb 16 23:01:54 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0
Feb 16 23:01:54 DHCP SERVER: DHCP offer to 00:01:29:fb:c5:d1
Feb 16 23:02:03 DHCP SERVER: DHCPDISCOVER from 00:01:29:fb:c5:d1 via br0
[Code]....

Motherboard is some old Lanparty with two ethernet ports, NVidia CK804 and Marvell 88E800 rev 13 Gigabit netwok adapters, neither of them works. At least another of them has been worked earlier when I last got it wired. It's been a while, so I'm not sure which one of them and with different router if that matters.

View 3 Replies View Related

Ubuntu Networking :: Get Segfaults In Sshd When Trying To Connect

Jan 6, 2010

I've started to get segfaults in sshd when trying to connect. There has been no reboot and (until I restarted the sshd to try to fix the problem) there was still another ssh session connected.

The log messages:

Code:
==> kern.log <==
Jan 6 21:33:38 shuttle kernel: [ 1928.611128] sshd[9548]: segfault at bf30e534 eip b7f51b4c esp bf30e510 error 6
==> auth.log <==

[Code]....

View 1 Replies View Related

Networking :: Sshd Access By IP Address OR Certificate?

Sep 28, 2010

I have a site in India that needs to be accessed by our offices round the world. I have added AllowUsers lines for the static IP's in those offices. However, we also have a couple of people who travel and don't have static ip's. Is it possible to enable both AllowUsers for the offices and have certificate access for the others?

View 1 Replies View Related

Networking :: Can't Seem To Get Sshd To Bind On A Remote Interface?

Jan 7, 2011

can't seem to get sshd to bind on a remote interface.When I attempt to connect, I get an instant "unable to connect to host."

Code:
$ cat sshd_config
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for

[Code]...

View 3 Replies View Related

Networking :: Sshd Service Up After Server Reboot

Jul 11, 2011

I want to make sure sshd service will start after a server reboot. On redhat or centOS I can do "chkconfig sshd on". What's the equivalent command for ubuntu?

View 1 Replies View Related

Fedora Networking :: F13 - SSHD Disconnected (Connection Closed)

Aug 8, 2010

I have installed Fedora 13 and updated it. I simply cant use ssh to connect to this Fedora, not even locally. I have enabled port22 in firewall settings and nothing. Tried to disable firewall completely and nothing. I have disabled SELinux (not sure if it has something to do with this, but... ) and nothing. Entered "ALL: ALL" in /etc/hosts.allow and still nothing. Dont know what to do anymore.

Here is what happens when I try to ssh to this machine, even from it:
[flibio@surf ~]$ ssh localhost
warning: Need basic cursor movement capability, using vt100
flibio's password:
Authentication successful.
Disconnected; connection lost (Connection closed.).
Connection to localhost closed.
[flibio@surf ~]$

Looking into Services > sshd and it says "This service is dead."
So I tried:
[root@surf etc]# service sshd restart
Stopping sshd: [FAILED]
Starting sshd: : OpenSSH_5.4p1 on
: FATAL: Creating listener failed: port 22 probably already in use! .....

And still I get disconnected whenever I try to ssh to this machine from anywhere. Services says that sshd is allways dead, even restarting it but I can only restart it by doing a pkill sshd before.

View 7 Replies View Related

Ubuntu Networking :: Sshd -D At Startup - How To Remove The -D Option

May 19, 2011

Somehow the -D option got tacked on to my sshd when I start up. How do I remove the -D option when sshd is started at boot? I'm guessing I need to edit something in /etc/init.d but not sure what. I checked System->Preferences->Startup Applications and the ssh server daemon isn't listed there. And since it is a command line option /etc/ssh/sshd_config is of no help.

View 2 Replies View Related

Fedora Networking :: Sshd Won't Work Properly / No Route To Host

Nov 17, 2010

I have recently set up two machines with F14 and on both, I am completely unable to make remote login via SSH work. openssh-server is installed and seems to work well:

I have already worked for hours on the problem now, using Google and trying numerous things, and still could not find any solution. On my other machine, which still uses F13, remote login works just fine. Is there any change in the default behaviour of the sshd I am not aware of? I would really appreciate your assistance!

View 14 Replies View Related

Fedora Networking :: Sshd Can't Bind To Non Standard Port After FC14 Upgrade

Feb 5, 2011

I just upgraded from FC 13 to FC 14. I run an ssh server on a port in the 3000s (call it 3xxx, to protect the innocent). When I try to start sshd with the "Port 3xxx" option in sshd_conf, I get the following error in /var/log/secure

sshd[5104]: error: Bind to port 3xxx on 0.0.0.0 failed: Permission denied.
sshd[5104]: error: Bind to port 3xxx on : : failed: Permission denied.

I did not use to have this problem in FC 13. how I can give sshd the necessary permissions now?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved