Unable to configure network in mode ad-hoc, Ubuntu

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Good evening!

Actually have a machine with ubuntu 10.04 on it wi-fi card VIA VT6655
You must configure the network in ad-hoc mode.
in ad-hoc mode interface is translated, but unable to set essid.

# 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.

after translation of the interface eth1 is in active state # ifconfig eth1 up another car wi-fi network does not detect. how to be?
Combination # iwconfig eth1 essid "any" and # iwconfig eth1 essid on tried, to no avail.
by | 4 views

1 Answer

0 like 0 dislike
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 netmask up iwconfig wlan0 ifconfig wlan0 up echo 1 > /proc/sys/net/ipv4/ip_forward iptables-t nat -A POSTROUTING -o eth0 -j MASQUERADE

Raises the point with My Wifi name and key ca188.
So, too, does not work?

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Mar 21, 2019 by tomas745
110,608 questions
257,186 answers
28,014 users