LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-07-2007, 01:59 PM   #1
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Rep: Reputation: 0
unreachable network from slackware laptop


Hi gurus.

I'm trying to connect to my school's LAN with my laptop (dual boot Slack 10.2 and WinXP) and... it's not working. And I don't know why. It works under Windows, and from home (I have DSL there), the connection "just worked".

I can ping localhost, but if I try anything remote, I get "Network is unreachable." Any suggestions? I know ~nothing about networking; it all seems like black magic to me, so thanks a lot for your help.

~v
 
Old 01-07-2007, 02:01 PM   #2
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Try this at a terminal as root:

dhcpcd eth0 && ping google.co.uk


also could you atach the output of this command as root before and after you have run the above command.


ifconfig
 
Old 01-07-2007, 02:04 PM   #3
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
It sounds like you are missing your gateway or maybe DNS address.

How are you getting an IP address on you scholl LAN. Is it static or by DHCP.

Can you ping any other hosts on the local network.

 
Old 01-07-2007, 02:05 PM   #4
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
If you could read you would of noticed he said he cant reach anything outside.
 
Old 01-07-2007, 02:09 PM   #5
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
Before:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:194 errors:0 dropped:0 overruns:0 frame:0
TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16280 (15.8 Kb) TX bytes:16280 (15.8 Kb)


After:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:210 errors:0 dropped:0 overruns:0 frame:0
TX packets:210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17576 (17.1 Kb) TX bytes:17576 (17.1 Kb)
 
Old 01-07-2007, 02:12 PM   #6
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by snowtigger
It sounds like you are missing your gateway or maybe DNS address.

How are you getting an IP address on you scholl LAN. Is it static or by DHCP.

Can you ping any other hosts on the local network.

DHCP. Or at least, that's the idea. And I can't ping any other hosts.
 
Old 01-07-2007, 02:25 PM   #7
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Ok so now it looks your network card is not working.

Which kernel are you using, please post the output of 'uname -a' (no qoutes)

And 'lspci'
And 'lsmod'

 
Old 01-07-2007, 02:30 PM   #8
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Well ignore the uname -a because i am pretty sure (unless you upgraded) you ar on a 2.4 kernel because thats slack default. Just run as root in a term

lspci
 
Old 01-07-2007, 02:45 PM   #9
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
uname -a
Linux localhost 2.4.31 #8 Sun Jun 5 19:08:07 PDT 2005 i686 unknown unknown GNU/Linux

00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02)
00:1e.0 PCI bridge: Intel Cprporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)

I can give the output of lsmod, too, though I have to type all this in by hand, so if there are only a few lines that are helpful, I'd rather try to reproduce only those. (And sorry if there are typos...)
 
Old 01-07-2007, 03:02 PM   #10
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Ok, so now we know what hardware you have.

I asked for the output of 'uname -a' because a common mistake is to forget th install the modules for the 2.6 kernel.

Anyway have a look at the output of 'lsmod' and see if you have an entry for e100. This is the module (read driver in windows terms) for your network adaptor.

 
Old 01-07-2007, 03:08 PM   #11
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
Hrm, I don't quite seem to. There are these lines, however:

eepro100 18836 0
mii 2272 0 [eepro100]
 
Old 01-07-2007, 03:21 PM   #12
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Hmmm yeah same thing with diff name type this at terminal as root:

modprobe eepro100

then

dhcpcd eth0

then


ping google.co.uk
 
Old 01-07-2007, 03:21 PM   #13
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Thats good, they are a newer version of the module.

As root run 'netconfig' this should ask you some question and set up your network. When it asks about your IP address choose to set up by DHCP (dynamic host configuration protocol)

 
Old 01-07-2007, 03:22 PM   #14
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Try my idear first
 
Old 01-07-2007, 04:11 PM   #15
virgule
LQ Newbie
 
Registered: Jan 2006
Location: Masachusetts, USA
Distribution: slackware, rhel
Posts: 14

Original Poster
Rep: Reputation: 0
I did, and got
ping: unknown host google.co.uk

Then I tried
ping 64.233.183.103

and got
connect: Network is unreachable

I'm a little hesitant to run netconfig because of the problem here, which I never resolved. I'm pretty sure that it's set up to get an IP address via DHCP, though.
 
  


Reply



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
Laptop Network boot and Slackware question wakeboarder3780 Slackware 3 10-04-2006 04:12 PM
Network Is Unreachable!!!!!!!!!!!!!!!!!!!!! koodoo Linux - Newbie 4 02-19-2005 09:51 AM
Alienware Laptop / Slackware 10.0 Wireless network time112852 Linux - Hardware 1 11-02-2004 10:19 AM
Home Network Help (Slackware 10 laptop and Windows Desktop) Corallis Linux - Networking 0 07-03-2004 03:32 PM
Network Unreachable, Sometimes.. (Slackware 9) Galileo430 Linux - Networking 3 12-12-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration