Operating Systems > Linux and UNIX

setting up internet

<< < (2/3) > >>

Master of Reality:
thats basically what i said.... only longer.

shuiend:
thanks for the replys and i will go try that now. i am think that if that does not work it is because my wireless network card is not set th dhcp. i specify what ip it gets. since it is the one it should get it works. i am trying to figure out how to make it connect to my dhcp now
and thanks for the responds

voidmain:

quote:Originally posted by Master of Reality / Bob:
thats basically what i said.... only longer.
--- End quote ---


Look at the post times on our messages. I started typing mine before you finished your post so I didn't see your post. If I had I wouldn't have posted myself.  

voidmain:

quote:Originally posted by wild_jester / BOB:
thanks for the replys and i will go try that now. i am think that if that does not work it is because my wireless network card is not set th dhcp. i specify what ip it gets. since it is the one it should get it works. i am trying to figure out how to make it connect to my dhcp now
and thanks for the responds
--- End quote ---


Configuring IP on a wireless card is exactly the same as any other network interface. If it is configured via DHCP it should set up the default router/gateway via DHCP. I suspect that you configured a static IP Adress and did not specify the gateway though. Once you configure it as a DHCP client then you should be fine.  By the way, the rules for TCP/IP apply equally to all operating systems. In order to get beyond the local network a "default route" must be set to point to your router. Windows, Linux, Apple, BSD, Solaris, AIX, HP-UX, all the same.

shuiend:
ok the code i use to start my card is
modprobe prism2_pci  
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem
ifconfig wlan0 192.168.1.101 netmask 255.255.255.0
route add default gw 192.168.1.1

there is a line that has "broadcast <yourBroadcast> " but i am not sure what that means so i do not include it. i cannot connect to my gateway without telling it what ip to have first. that is my problem i think. if i do "route add default gw 192.168.1.1" first then try to ping my router is does not work. i have to specify an ip address for it to be able connect to my lan

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version