Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Paste Description for DARKGuy

Ad-hoc network not connecting

DARKGuy
Sunday, August 26th, 2007 at 8:56:45am UTC 

  1. --- PC 1 ---
  2.  
  3. sudo ifconfig rausb1 down
  4. sudo rmmod rt2570
  5. sudo modprobe rt2570
  6.  
  7. sudo iwconfig rausb1 mode ad-hoc
  8. sudo iwconfig rausb1 channel 6
  9. sudo iwconfig rausb1 essid tempnetwork
  10. sudo iwconfig rausb1 key 1234567890
  11. sudo ifconfig rausb1 up
  12. sudo ifconfig rausb1 192.168.0.2 netmask 255.255.255.0
  13.  
  14. #I want to set the gateway to 192.168.0.1 (my wired network device)... is this the right command?
  15. sudo route add default gw 192.168.0.1 dev rausb1
  16.  
  17.  
  18. --- PC 2 ---
  19.  
  20. sudo ifconfig ra0 down
  21. sudo rmmod rt2500
  22. sudo modprobe rt2500
  23.  
  24. sudo iwconfig ra0 mode ad-hoc
  25. sudo iwconfig ra0 channel 6
  26. sudo iwconfig ra0 essid tempnetwork
  27. sudo iwconfig ra0 key 1234567890
  28. sudo ifconfig ra0 up
  29. sudo ifconfig ra0 192.168.0.10 netmask 255.255.255.0
  30.  
  31. #I want to set the gateway to 192.168.0.2 (the wireless at PC 1)... is this the right command?
  32. 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right