Announcement

Collapse
No announcement yet.

Please help me set up an ad-hoc net

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Please help me set up an ad-hoc net

    Hi,
    I am trying to set up an ad-hoc network. I am using a dell inspiron and I want it to connect to a XP machine. I have got the wireless (rt2570) set up. It works fine in infrastucture mode. I have configured the device for ad-hoc networking. I put the following in the /etc/network/interface file:
    Code:
    auto rausb0
    iface rausb0 inet static
    address 192.168.2.1
    netmask 255.255.255.0
    wireless-mode ad-hoc
    wireless-essid streetsmart
    wireless-channel 6
    I think that the dhcp is wrong, but I don't know how to say use static ip. The keywork static is refused. When this is used iwconfig prints this:
    Code:
    rausb0  Link encap:Ethernet HWaddr 00:0D:0B:9F:71:83
         inet6 addr: fe80::20d:bff:fe9f:7183/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:2838438 (2.7 MiB) TX bytes:98890 (96.5 KiB)
    When I try to connect to this network from the XP machine I do see the network. However I cannot get them to ping each other or otherwise talk. Anybody know what I am doing wrong? Anybody know of a straightforward Kubuntu ad-hoc guide?

    thanks in advance.

    #2
    Re: Please help me set up an ad-hoc net

    I found out how to get it working. I had to set up a static route. If you find yourself fighting with a similar issue you need to execute a command like:
    sudo route add -net 230.0.0.0 netmask 255.0.0.0 dev rausb0

    Where 230.0.0.0 is a masked version of the multicast address, 255.0.0.0 is the netmask and rausb is the device to connect through.

    Comment

    Working...
    X