RE:error to load driver

"Luke Shen" <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hi, I am happy to report that I have figured out the problem(s) I posted a 
couple of days ago. No my Linksys WUSB11 ver2.6 is working great. So I can 
send out this email from Linux. ( I still have a minor problem, which I will 
post in a new thread.)

The problem is a trivial mistake I made in driver configuration. But it 
suggests how difficult it is to make a correct guess without full 
understanding. Just in case it is helpful for other newbies like me, I 
detail my mistake below.

After my driver is loaded correctly, I used "iwconfig" to configure the 
wireless interface. Then I entered command "ifconfig wlan0 192.168.1.1" to 
bring up the interface. However, "192.168.1.1" is the ip address for my 
router. The correct ip address assigned by DHCP, which I found out later 
from win2000, is "192.168.1.100". Once I changed this command to "ifconfig 
wlan0 192.168.1.100" and also added gateway to the routing table with "route 
add default gw 192.168.1.1", everything starts to work perfectly.

I thinks this also explains why when I configure the interface with a wrong 
essid/key combination, "ping 192.168.1.1" always works . Since I mistakenly 
specify "ifconfig wlan0 192.168.1.1", I was effectively pinging the 
localhost, without sending any packets to the gateway. (Please correct me if 
my understanding is wrong.)

Any way, thanks a lot to those who replied to my post. I am almost there to 
bid farewell to windows.

Luke


>From: Derek Jennings <[email protected]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: RE:[at76c503a-user] error to load driver
>Date: Tue, 27 Jan 2004 22:52:32 -0000
>
>>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
>_______________________________________________
>at76c503a-user mailing list
>[email protected]
>http://lists.berlios.de/mailman/listinfo/at76c503a-user

_________________________________________________________________
Let the new MSN Premium Internet Software make the most of your high-speed 
experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
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.