Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 09-02-2008, 10:28 AM   #1
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
College Campus: PC on ethernet, Laptop on wifi, no static IP, can I still ssh?

I wanted to go ask the guy at the computer department if there was anything in place to prevent my laptop from seeing my PC, but I don't quite know what to ask him.
My laptop is on wifi, and I bought an ethernet cable for my PC. Both have dynamic IP addresses through dhcp.
If the hostname of my PC is george, and the hostname of my laptop is frank, and I use the user 'owner' on both, I should just be able to be in my laptop and type this, right?
owner@frank:~$ ssh owner@george
but I get nothing. I've also tried to ping my laptop from my PC and vice-versa.
Is this because they are on two different interfaces, or is it because the department is blocking something, or do I need to do something to have these two be able to see eachother on the network?
Old 09-02-2008, 10:52 AM   #2
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
owner@frank:~$ ssh owner@george
but I get nothing
- of course you'd get nothing - how would one machine know hostname of another or behind what ip address that hostname sits! For static IPs on a small network appropriate entries in /etc/hosts file would be enough (see 'man hosts'). Alternatively you need a name server.

But if your IPs get assigned dynamically and it's a big network that you cannot ask for any favours (for instance, you could have asked to have DHCP server reserve IP addresses for your machines based on their MAC addresses) you can just check your current IP address, keep the machine connected and hope that that IP stays reserved for a reasonably long time (ask network admin how long). When I used to have dynamic IP from my ISP my address sometimes didn't change for weeks as long as I stayed connected.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
College campus, no WEP/WPA, but must log in through browser after connecting. Romanus81 Linux - Wireless Networking 4 08-29-2008 04:27 PM
College Campus: Accessing my PC from my Laptop safely? Romanus81 Linux - Security 7 08-17-2008 12:36 AM
networking on a college campus raim1312 Linux - Networking 4 04-02-2007 06:42 PM
Connect a Laptop at a campus Network alekoos Linux - Networking 2 04-26-2004 07:30 PM
Ethernet/Wifi laptop connection problems killahwave Linux - Wireless Networking 6 03-09-2004 09:35 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration