Share cable internet using wireless
I am attempting to connect to the net from my mobile phone, via a laptop running Ubuntu 10.04 LTS that is connected to cable ethernet. I cannot detect any wifi server from the mobile phone, though it detects several others.
From ubuntu, I created a new wireless connection in network manager (It provides a list of several available wifi servers, even though I have not requested this I believe). Wireless is enabled in network manager. When I edit the new wireless connection that I created, I see the following:
- The ssid is set to the name of the connection.
- it has an ad-hoc mode,
- "connect automatically" is not set. (when it was, the device registered xmit traffic according to ifconfig wlan0)
- I have pasted in the mac address of the device I am attempting to use, though not prompted to do so.
- there is no bssid field set.
- available to all users is set.
- mtu is set to automatic
- in ipv4 settings, the "shared to other computers" option is set. All other fields are blank.
- in wireless security, set "wep 128 bit passphrase" and a password.
From the command line, if I enter "$ sudo ifconfig wlan0" I get:
wlan0 Link encap:Ethernet HWaddr 00:1f:3a:f7:97:bf
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
And the command "$ iwconfig wlan0" gives:
wlan0 IEEE 802.11bg ESSID:off/any
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Although I can use iwconfig to set the ESSID, I have never seen it set to the value that I have requested network manager to set it to. The service dnsmasq appears to be running. I am unsure if this is a result of my prior configuration attempts, or network manager has started it.
Although I have never used the wireless connection, the problem appears to be a software disconnect between network manager and the hardware. I have never managed to set the wireless device to ad-hoc mode if ifconfig says the connection is up. I would expect network manager to manage the device, set it to adhoc mode, and allow wifi connections. Yet this does not occur.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Peter Garrone
- Solved:
- Last query:
- Last reply: