LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wirless can ping ap and lan but nothing else (https://www.linuxquestions.org/questions/linux-newbie-8/wirless-can-ping-ap-and-lan-but-nothing-else-237042/)

globb 09-30-2004 07:18 AM

wirless can ping ap and lan but nothing else
 
Hi all,
I have used the ndiswrapper to install a broadcom driver on slackware 10.0

I have appended rc.wirless.conf with my ap details but at every boot i need to run
1.' iwconfig wla0 enc xxxxxxx'
2.'iwconfig wlan0 commit'
before my wirless card sees the router
3.'ifconfig wlan0 192.168.1.101 netmask 255.255.255.0 up'

only after doing this i can ping the ap and other machines on my lan

if i plug my ethernet cable in i am off and running but i dont really want to use the ethernet card at all.

These cards are in a dell inspiron 5150
the ip and subnet of both eth0 and wlan0 are identical as per ifconfig -a
i have tried ifconfig eth0 down to make sure that it isnt interfearing.

1. should i have to add something to inet1 ?

2. I can't see where rc.wirless is called from ?

m00t00 09-30-2004 07:34 AM

rc.wireless is in /etc/rc.d
make sure it is executable, or else it wont get run

the reason you cant ping any machines outside your WLAN, is this:

route add default gw 192.168.1.1

put that in too. that sets your default gateway to 192.168.1.1, the ip of your access point. (change the ip if its different)

globb 09-30-2004 07:59 AM

ty mootoo
i have added route add deault gw 192.168.1.3 to rc.wirless.conf
i call this file from rc.wirless
but how can i check if rc.wirless is executable

i alreay had nameserver 192.168.1.3 in resolve.conf
is this different?
graham


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