LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-17-2004, 10:52 PM   #1
nuttycad
LQ Newbie
 
Registered: Oct 2003
Location: Provo, UT
Distribution: redhat 9
Posts: 1

Rep: Reputation: 0
Redhat 9 Laptop connects to internet at work, not at home


I have been using redhat 9 on my Dell Inspiron 3800 for almost a year now. I have configured my Xircom ethernet card to use DHCP at work (A university campus) and I can connect to the net without any problems. When I bring my laptop home, I can't even get the NIC to get the IP information. My router is set up as a DHCP server. My router can bind a specific IP address to a MAC address, so I tried setting it up with a static IP. I was able to get the NIC to get the IP address, but I could not ping anything but myself. No internet, etc. ...

This seems really wierd to me, because it works fine at work, but if anyone could help me, I would appreciate it!
 
Old 03-17-2004, 11:22 PM   #2
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
Hi, and Welcome to LQ !

When your laptop is on DHCP, it is likely that it didn't get only an IP address from the DHCP server, but other relevant setup like the default gateway and proxy server.

When you configure a static IP, you will also need to configure the default gateway yourself, which in this case will be your router at home.

To set a default gateway, type (as root):

route add default gw <ip of router>

also, make sure that both your laptop IP and your router's inside interface IP are in the same netwerk. e.g. 10.1.1.1 netmask 255.255.255.0 and 10.1.1.10 netmask 255.255.255.0

Hope this helps.
 
  


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
Can't get internet to work on laptop (Compaq Presario R3230) mcrexx Linux - Laptop and Netbook 9 09-13-2005 07:08 AM
Wireless internet doesn't work on laptop at school (Ubuntu 5.04) dbzsongoku Linux - Newbie 1 06-24-2005 01:47 PM
Internet won't work at home (RH9) zdAntz Linux - Newbie 1 07-21-2004 03:23 AM
Trying to get printer to work with my laptop -RedHat 9.0 Linux4Dummies Linux - Hardware 0 03-20-2004 03:46 PM
Using a notebook with an internet connection at work and at home. nidomhnail Linux - Networking 3 07-03-2003 04:26 PM


All times are GMT -5. The time now is 02:43 PM.

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