RE:error to load driver

Derek Jennings <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <opr2ghtun4qyhozv@localhost>
> Joerg, thank you very much for your tip. I got through the driver 
> loading problem by replug the USB adapter or do a cold boot.
>
> However, I was still not able to make through the whole process, though 
> I am getting closer. Here is the new problem:
>
> After I loaded the driver and configured it with <iwconfig>, I was able 
> to ping my Linksys USB11 ver. 2.6 with the following command: <ping 
> 192.168.1.1>. All the packets are received. However, when I tried to 
> ping an outside address <ping 64.68.82.204>, I got error message:
>
> connect:network is unreachable
>
> That IP address is actually where google is, and it worked when I tried 
> to ping it on Windows.
SNIP
> 4. <route -n> returns following:
>
> Kernel IP routing table
> Destination        Gateway       Genmask            Flags Metric Ref Use 
> Iface
> 192.168.1.0      0.0.0.0         255.255.255.0    U     0        0    
> 0    wlan0
> 169.254.0.0      0.0.0.0         255.255.0.0        U     0        0    
> 0    l0
> 127.0.0.0         0.0.0.0         255.0.0.0            U     0        
> 0    0    l0
SNIP
> Luke


Looks like you do not have a default gateway defined

route add default gw 192.168.1.0

should do the trick.

If your RedHat is anything like my Mandrake (and I think it is) then there 
should be a file called
/etc/sysconfig/network-scripts/ifcfg-wlan0  which holds the network config 
for each physical interface.
http://www.redhat.com/support/resources/howto/sysconfig.html

If you put a line in there
GATEWAYDEV=wlan0
then it should define the default route when the network starts.

HTH

derek

-- 
www.jennings.homelinux.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.