Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-01-03 7:09:26 am

ivanoff
New member
Registered: 2008-01-01
Posts: 9

Wifi Ad-Hoc mode with eeeXubuntu r3

Hi
Has anyone successfully made ad-hoc wifi mode work on the eee ?
I have tried that:
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode adhoc

which created a new wifi interface ath1 and not ath0

then used
iwconfig ath1 mode Ad-Hoc essid gnacbla
ifconfig ath1 -promisc 10.0.1.10 netmask 255.255.255.0 broadcast 10.0.0.255

as advised in http://forums.gentoo.org/viewtopic-t-27 … eless.html

The network seems online because iwconfig gives

ath1      IEEE 802.11g  ESSID:"gnacbla"  Nickname:""
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:E0:9B:6E:F6:F6   
          Bit Rate=0 kb/s   Tx-Power:17 dBm   Sensitivity=1/1 
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=50/70  Signal level=-46 dBm  Noise level=-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

but a ping on 10.0.1.1 (my gateway) failed same from the gateway

It's the first time I try something like that I can be obviously wrong somewhere but I would need a hint.

thanx

Offline

 

#2 2008-05-28 9:15:18 am

mx17
New member
Registered: 2008-05-28
Posts: 2

Re: Wifi Ad-Hoc mode with eeeXubuntu r3

Yes, I did.

Code:

VAP=ath1

wlanconfig ath0 destroy
wlanconfig $VAP create nounit wlandev wifi0 wlanmode adhoc

iwconfig $VAP mode Ad-Hoc essid "$ESSID"
iwconfig $VAP enc open $KEY
ifconfig $VAP -promisc $IP netmask $NETMASK

Use your correct values for ESSID, KEY, IP, NETMASK.



ivanoff wrote:

Hi
Has anyone successfully made ad-hoc wifi mode work on the eee ?
I have tried that:
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode adhoc

which created a new wifi interface ath1 and not ath0

then used
iwconfig ath1 mode Ad-Hoc essid gnacbla
ifconfig ath1 -promisc 10.0.1.10 netmask 255.255.255.0 broadcast 10.0.0.255

as advised in http://forums.gentoo.org/viewtopic-t-27 … eless.html

The network seems online because iwconfig gives

ath1      IEEE 802.11g  ESSID:"gnacbla"  Nickname:""
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:E0:9B:6E:F6:F6   
          Bit Rate=0 kb/s   Tx-Power:17 dBm   Sensitivity=1/1 
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=50/70  Signal level=-46 dBm  Noise level=-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

but a ping on 10.0.1.1 (my gateway) failed same from the gateway

It's the first time I try something like that I can be obviously wrong somewhere but I would need a hint.

thanx

Offline

 

#3 2008-10-24 1:40:49 pm

Lord C
Member
Registered: 2008-10-12
Posts: 15

Re: Wifi Ad-Hoc mode with eeeXubuntu r3

Tried your method with no luck. Did you follow that with an 'ifconfig $VAP up' or something?'

I've typed all the commands successfully, but the network isn't up and running. I can't connect to it, and it's not displaying a wifi icon in the system tray. Network Monitor claims there's no network.

Iwconfig and ifconfig both seem correct though.

Last edited by Lord C (2008-10-24 1:57:04 pm)


Eee 901 running Ubuntu-Eee.
Upgraded: GIGABYTE WI07HT (Atheros WiFi card) & 2GB RAM

Offline

 

#4 2008-11-12 3:13:03 pm

mx17
New member
Registered: 2008-05-28
Posts: 2

Re: Wifi Ad-Hoc mode with eeeXubuntu r3

Lord C wrote:

Tried your method with no luck. Did you follow that with an 'ifconfig $VAP up' or something?'

I've typed all the commands successfully, but the network isn't up and running. I can't connect to it, and it's not displaying a wifi icon in the system tray. Network Monitor claims there's no network.

You are right: it's necessary to shut down NetworkManager, so you'll not have any icon on the system tray.


I'll try to be more precise:

First of all "sudo"

Code:

sudo -i

then shut down NetworkManager as I said

Code:

/etc/dbus-1/event.d/25NetworkManager stop
/etc/dbus-1/event.d/26NetworkManagerDispatcher stop

then destroy any athX interface

Code:

wlanconfig ath0 destroy

create new interface in Ad-Hoc mode

Code:

wlanconfig ath1 create nounit wlandev wifi0 wlanmode adhoc

finally set up Ad-Hoc parameters

Code:

iwconfig ath1 mode Ad-Hoc essid "my_private_network"
iwconfig ath1 enc open "1122334455"
ifconfig ath1 -promisc 192.168.1.1 netmask 255.255.255.0

Let me know if you can connect, please!

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson