LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2008, 10:28 AM   #1
Romanus81
Member
 
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
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Quote:
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.
 
  


Reply


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


All times are GMT -5. The time now is 08:12 AM.

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