LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2008, 11:23 PM   #1
metroside
LQ Newbie
 
Registered: Apr 2008
Posts: 9

Rep: Reputation: 0
LAN Connectivity but not WAN Connection on Old Thinkpad


I recently took up the challenge of trying to install Linux on my old Thinkpad 755c (486 DX2, 20mb RAM, 540 mb HD, No CD ROM, Only Floppy Drive Support). Tried installing Debian but had all sorts of problems so I am now giving Tiny Linux ago which is based on Slackware 4.0, and I seem to be doing better with it.

Where I am at is that I have managed to get configure ifconfig so that I can ping other machines on my home network which seems to work fine, but for some reason I still can't ping externally and cannot get connectivity to the outside world. I figure it is not a hardware issue but a setting I have missed somewhere. I have install all of the A and N packages, but really need connectivity to install the rest of the packages due to not having a cd rom drive.

I am using a 16 bit PCMCIA ethernet card and have allocated a static ip address on the network to the MAC address of the card so I know that works.

I don't have DHCP support on the laptop yet.

Any help here would be greatly appreciated. Need a bit of a checklist of options to see if I missed something.
 
Old 04-27-2008, 12:44 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
Hi metroside, Welcome to lq. Since you set this up statically have you checked your default gateway? What does the output from the following produce?
Code:
/sbin/ifconfig -a
/sbin/route -n
Good luck. ;-)
 
Old 04-27-2008, 01:04 PM   #3
metroside
LQ Newbie
 
Registered: Apr 2008
Posts: 9

Original Poster
Rep: Reputation: 0
/sbin/ifconfig -a displays this

eth0 link encap: Etthernet HWaddr 00:00:E8:37:1F:F8
inet addr:10.1.1.7 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:3 Base address:0x300

lo link encap: Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP BROADCAST RUNNING MTU:3924 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100

/sbin/route -n

kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.1.1.1 0.0.0.0 UG 1 0 0 eth0

Hope this helps
 
Old 04-27-2008, 01:09 PM   #4
metroside
LQ Newbie
 
Registered: Apr 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Fixed the problem myself. Thanks for your help PeaceDog
 
Old 04-27-2008, 01:12 PM   #5
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
When you ping "outside" are you using the IP? What does the following produce?
Code:
cat /etc/resolv.conf
What does the rest of the network look like? Could this be a firewall issue?
Good luck. ;-)

Last edited by Peacedog; 04-27-2008 at 09:44 PM. Reason: Typing error...Have to learn to do that!
 
Old 04-27-2008, 01:13 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
You're welcome, Glad it's sorted. It might be helpful for others if you'll post your solution.
Good luck. ;-)
 
Old 04-27-2008, 09:29 PM   #7
metroside
LQ Newbie
 
Registered: Apr 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I had to add my gateway details to the route table using the command

user#:route add default gw 10.1.1.1 eth0

make sure your have eth0 connection set to up by using the command

user#:ifconfig eth0 up

If not you will get a error saying the network is unreachable.

This allowed me to connect externally
Thanks again PeaceMan.
 
Old 04-27-2008, 09:42 PM   #8
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
You're welcome, Glad you sorted it. Setting things statically can be tricky depending on the network. Thanks for posting the solution.
Good luck. ;-)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lost wan connectivity when copying files starmonche Linux - Wireless Networking 19 06-20-2007 07:10 PM
Connectivity problem with Mandrake Linux 10.1 LAN/WAN/Samba Server BiO|Happy Linux - Networking 3 05-05-2005 02:51 PM
Connectivity problem with network on Mandrake 10.1 LAN/WAN/Samba BiO|Happy Linux - Wireless Networking 0 04-29-2005 04:11 PM
Routing LAN -> WAN -> LAN with unhelpful router synx13 Linux - Networking 2 06-14-2004 02:35 PM
LAN to WAN Connection MNF Mandrake Firewall? aaziz Linux - Networking 0 02-16-2004 02:25 AM


All times are GMT -5. The time now is 08:44 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
Open Source Consulting | Domain Registration