Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just set up OpenSSH on my Ubuntu 8.04 box. Observe no firewall in system services list on ubuntu box. Attempt to ssh using putty from windows laptop attached to same router.
Putty connection times out. Can ping ubuntu box from laptop.
Can't ping the Windows machine... this disturbs me/ The Windows firewalls have honestly caused me a lot of head aches - that's not just a Linux fan boy talking. Might be worth seeing if you can disable this for testing temporarily if it's a safe environment.
Personally I'd want to be able to ping the IP addresses of both devices (and the IP of the router). Might be worth checking the arp table if you are seeing any oddities. Will kinda look like this in a Linux:
Code:
XXXX$ arp -a
? (192.168.1.1) at 00:24:c4:12:34:56 [ether] on eth0
? (192.168.1.2) at 00:50:7f:12:34:56 [ether] on eth0
and this in Windows:
Code:
C:\Users\XXXX>arp -a
Interface: 192.168.1.105 --- 0xb
Internet Address Physical Address Type
192.168.1.1 00-24-c4-12-34-56 dynamic
192.168.1.2 00-50-7f-12-34-56 dynamic
I'd be wanting to see everything on the LAN there.
Hence, believing problem is with Windows laptop, I opened a command line session on my Windows laptop and did what CmdoColin suggested:
Code:
C:\Documents and Settings\Owen Thomas>arp -a
Interface: 192.168.1.64 --- 0x2
Internet Address Physical Address Type
192.168.1.254 00-1f-9f-d2-84-a0 dynamic
Curiously, the Ubuntu box (192.168.1.67) does not appear.
Believe therefore that remedy lies with Windows config. Although this is a linux discussion group, I would appreciate a fix to this problem.
You were able to ping the Ubuntu machine from your XP machine previously. Try this again, and then check your arp tables again on both machines. If not used / machine is rebooted, they can not be there.
If the mac address again isn't appearing in the arp table then generically check your hardware. Otherwise I'd disable an re-enable the Ethernet port hardware in windows and check the drivers.
Otherwise check the device they connected together with. If it's your internet router; it might be worth checking there is no firewall rules between ports.
It might be a trivial note, but the Windows to router is Wireless, Ubuntu to router is Ethernet.
Ubuntu and Windows have been rebooted. Pinged Ubunto and Windows from each to the other as suggested, and retried arp. Running arp reports address of Ubuntu from Windows and vice versa.
Router reports firewall is disabled. This, to me, is still suggestive of a Windows firewall problem.
Hmmm... I disable Windows firewall, and still cannot reach ssh. Very ponderous. I might require some on-site help.
Doesn't most OpenSSH packages ship with all the "listening" options disabled by default in the config?
I know for sure that gentoo ships with the
#port 22
#192.168.0.0/24
both commented out for security reasons (Only enable exactly what you need). This means anyone who might of accidently installed openSSH in the past and then had it turned on randomly.
I notice no one else appears to have checked this yet - I'm not sure where the config file is on this distrobution, but I'd reccomend checking the listening options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.