Advertising
Paste Description for DARKGuy
Ad-hoc network not connecting
- DARKGuy
- Sunday, August 26th, 2007 at 8:56:45am UTC
- --- PC 1 ---
- sudo ifconfig rausb1 down
- sudo rmmod rt2570
- sudo modprobe rt2570
- sudo iwconfig rausb1 mode ad-hoc
- sudo iwconfig rausb1 channel 6
- sudo iwconfig rausb1 essid tempnetwork
- sudo iwconfig rausb1 key 1234567890
- sudo ifconfig rausb1 up
- sudo ifconfig rausb1 192.168.0.2 netmask 255.255.255.0
- #I want to set the gateway to 192.168.0.1 (my wired network device)... is this the right command?
- sudo route add default gw 192.168.0.1 dev rausb1
- --- PC 2 ---
- sudo ifconfig ra0 down
- sudo rmmod rt2500
- sudo modprobe rt2500
- sudo iwconfig ra0 mode ad-hoc
- sudo iwconfig ra0 channel 6
- sudo iwconfig ra0 essid tempnetwork
- sudo iwconfig ra0 key 1234567890
- sudo ifconfig ra0 up
- sudo ifconfig ra0 192.168.0.10 netmask 255.255.255.0
- #I want to set the gateway to 192.168.0.2 (the wireless at PC 1)... is this the right command?
- sudo route add default gw 192.168.0.2 dev ra0
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.