LinuxQuestions.org
Review your favorite Linux distribution.
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 11-16-2004, 07:57 PM   #1
chiquitomuir
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
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
Try adding the line:

nameserver 192.168.0.1

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

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

Last edited by zhangmaike; 11-16-2004 at 09:46 PM.
 
Old 11-16-2004, 10:19 PM   #3
chiquitomuir
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.

Wierd.

Any other ideas?
 
Old 11-16-2004, 10:50 PM   #4
zhangmaike
Member
 
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:

Code:
#!/bin/bash

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

# My card (ath0) has a static ip (192.168.0.192) 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 192.168.0.192 up

echo "Creating default route and gateway..."
route add default gw 192.168.0.1 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.
 
  


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
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


All times are GMT -5. The time now is 03:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration