LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-29-2004, 03:37 PM   #1
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Wireless laptop sees router but can't ping anything


This is really weird and its starting to bug me. I just installed Slackware 10 and it has found my pcmcia card and my wireless network. It has picked up the ESSID and the mac address of the AP.

Here is part of my iwconfig.
Code:
eth1    IEEE 802.11-DS ESSID:"penguin" Nickname:"darin3200"
Mode:Managed Frequency:2.422GHz Acess Point: 00:06:25:BA:EC:AD
Bit Rate:11Mb/s Tx-Power=15dBm Sensitivity:1/3
My ifconfig gives me only eth1 (wireless) and lo. Whenever I try to ping anyplace I get "Connect: Network is unreachable" I have also checked my router's dhcp clients and my laptop isn't listed.
Any ideas?
Thanks
 
Old 07-29-2004, 06:52 PM   #2
-Nw- neX
Member
 
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
if you run /sbin/ifconfig on your terminal command line, does eth1 have an IP address?

to see ALL of the interfaces on your system, use /sbin/ifconfig -a to show ALL of the interfaces that are avalible on the system. just running /sbin/ifconfig without any extra flags will just show you the configured interfaces.

you may have to assign a static IP to the interface using [as root]:
Code:
[root@c0re config]# ifconfig ethN [ your_ip ]
[root@c0re config]# route add default gw [ your_gateway_ip ]
OR to assign a dhcp ip
Code:
[root@c0re config]# dhcpcd -k -d ethN
[[ N is the number of your network interface. ]]

the route commad allows you to assign or show network information. to check and see if route has properly entered your gateway [router] into your routing table, just run 'route' on a command line. it should give you some output that looks kind of like this.
Code:
[root@c0re config]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         router          0.0.0.0         UG    0      0        0 eth0
you can see the default route in the last line. my router has an assigned hostname of 'router' im my /etc/hosts file, so you see its name come up as opposed to the IP.

for dhcpcd...
-k -- kills any previous dhcpcd processes, just in case its already running
-d -- kicks dhcpcd into verbose mode, so you can see whats going on. just in case your box is having problems talking to your router.

you might want to post the output from an ifconfig and ifconfig -a and a route command. just so we can see it. we might be able to give you some more help that way.
 
Old 07-29-2004, 07:02 PM   #3
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
'dhcpdcd -d eth1' did the trick Now I can surf lq from my laptop I'm suprised it didn't run dhcpdcd at boot time.

Thanks for the help
 
Old 07-29-2004, 07:11 PM   #4
-Nw- neX
Member
 
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
no problem.

if you want to run dhcpcd on boot, you can always look into editing the file /etc/rc.local [i think its called something else in gentoo!!] to tell the card to run dhcpcd on boot.
 
Old 07-30-2004, 03:19 AM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
darin3200 - out of curiosity, what laptop are you using? -- J.W.
 
Old 07-30-2004, 09:11 AM   #6
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
I'm using an IBM T-21 (800mhz P3, 256mb ram, 20 gig hd) with an orinoco card. I'm suprised how much better reception I get with an orinoco card compared to a linksys.
 
  


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
Can ping wireless router, but not get online toby_A Linux - Wireless Networking 5 01-01-2005 07:56 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
My laptop receives an IP via DHCP, but can't ping router or outside IP's! Max P0wer Linux - Networking 12 08-17-2004 05:45 PM
i can ping wireless router, but.. santasballz Linux - Wireless Networking 2 02-15-2004 09:33 PM
wireless router to wireless router connection questions mister_math Linux - Wireless Networking 0 08-06-2003 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:37 PM.

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