Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-16-2004, 07:57 PM   #1
LQ Newbie
Registered: Nov 2004
Location: Utah, USA
Distribution: FC5
Posts: 10

Rep: Reputation: 0
Question Can't hit the internet, eth1 shows traffic, but can't get out

Ok, I'm not sure if this should be in the wireless networking section or in this section, but anyways this is the problem:

I'm using a Cisco Aironet 350 wireless pcmcia card, that all works fine, it's loaded, linux sees it and everything, I'm using Cisco's ACU software and that works too, I'm using the LEAP authentication my user is authenticated when I supply the user name and password, I've got the 350 card associated with an access point and there is traffic passing between the two, or at least my card is recieving packets (I assume from the AP).

When I try to ping anything or when I try to hit the internet (using firefox 1.0) I immediately get an error about not being able to find the page or the host is unkown.

It's like linux isn't seeing that eth1 is xmitting, any ideas?

Thanks for the help.
Old 11-16-2004, 09:45 PM   #2
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
Try adding the line:


to /etc/resolv.conf, replace with the local IP address of your wireless router if it's different than that (mine is

EDIT: You may also have to run "route add default gw eth1" Once again, replacing with your router's IP.

Last edited by zhangmaike; 11-16-2004 at 09:46 PM.
Old 11-16-2004, 10:19 PM   #3
LQ Newbie
Registered: Nov 2004
Location: Utah, USA
Distribution: FC5
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for replying.

Adding the default gateway sounded like the key to me, but no dice, comes up saying that the network is unreachable, which is really wierd because according to the Cisco ACU client it's picking up the Access Point and is displaying it's IP address, but when I try to ping the IP address it too says that the network is unreachable.


Any other ideas?
Old 11-16-2004, 10:50 PM   #4
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
If you don't already have that line in /etc/resolv.conf, you need to add it in order to get internet working... In order to get my wifi card up and running, I needed to add that line, and run this script on startup:


echo "Setting encryption key..."
iwconfig ath0 key encryption-key-goes-here

# My card (ath0) has a static ip ( assigned to it by the router, so no DHCP.
# If you need DHCP, run dhcpcd first, and remove the ip from ifconfig
echo "Setting IP address and bringing up interface..."
ifconfig ath0 up

echo "Creating default route and gateway..."
route add default gw ath0
And that's all I had to do... you REALLY need that line in /etc/resolv.conf, though, if you don't already have it.

Apart from that, I'm out of ideas. Try the resolv.conf thing if you haven't already.


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
Dhcp eth0 and XP eth1 internet sharing props666999 Slackware 8 08-20-2005 10:48 AM
No internet until I shutdown eth1 mike8994 Linux - Networking 5 07-27-2005 07:09 PM
internet through eth1 DropSig Linux - Networking 2 07-15-2005 12:14 AM
DHCP using eth1 for internet eht0 for router... Zero-0-Effect Linux - Networking 12 01-17-2004 05:06 PM
ftp on the internet shows no files tuxandme Linux - Networking 8 11-14-2003 05:24 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:13 PM.

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