K
K
krotish2011-01-13 00:35:23
WiFi
krotish, 2011-01-13 00:35:23

Unable to setup network in ad-hoc mode, Ubuntu

Good evening!

Actually there is an ubuntu 10.04 machine, on it a wi-fi card VIA VT6655
It is necessary to configure the network in ad-hoc mode.
the interface is put into ad-hoc mode, but the essid cannot be set. and after transferring the eth1 interface to the active state, the other wi-fi machine does not detect the network. how to be? Tried combinations and no luck.

# iwconfig eth1 essid "My Network"
# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 802.11-a/b/g ESSID:""
Mode:Ad-Hoc Frequency=2.437 GHz Cell: Not-Associated
Bit Rate:54 Mb/s Sensitivity=0/255
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:-609088116 Invalid misc:0 Missed beacon:0

vntwpa no wireless extensions.


# ifconfig eth1 up
# iwconfig eth1 essid any# iwconfig eth1 essid on

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2011-01-13
@uscr

ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 channel 1
iwconfig wlan0 Bit 54Mb/s
iwconfig wlan0 essid 'My Wifi'
iwconfig wlan0 key "s:ca188"
ifconfig wlan0 192.168.2.1 netmask 255.255.255.0 up
iwconfig wlan0
ifconfig wlan0 up
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Raises a point with the name My Wifi and the key ca188.
So that doesn't work either?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question