xRalf
asked on
Connect tablet to my laptop via wifi
Hello,
could you advise me how to set the wi-fi in my laptop to be able to connect with my tablet?
I'm using Ubuntu.
thank you
could you advise me how to set the wi-fi in my laptop to be able to connect with my tablet?
I'm using Ubuntu.
thank you
ASKER
Tablet is Archos 7, with Androis 2.1. I would like to share the internet connection from my laptop.
It will be adhoc connection between the two devices.
It will be adhoc connection between the two devices.
there's an article at http://ubuntu-tutorials.com/2009/06/13/how-to-share-your-internet-connection/ see also the comments, that should get you underway.
I don't know if Android does ad-hoc and also there may be some wifi kit that doesn't on the Ubuntu side.
There are other ways for example run the laptop wifi in Master mode and make it an access point, which may be simpler on the tablet.
I don't know if Android does ad-hoc and also there may be some wifi kit that doesn't on the Ubuntu side.
There are other ways for example run the laptop wifi in Master mode and make it an access point, which may be simpler on the tablet.
ASKER
I'm not sure if its adhoc. I just need to share my laptop internet connection with tablet.
What is the command for network manager?
I installed network-manager, but the command network-manager does not exist.
What is the command for network manager?
I installed network-manager, but the command network-manager does not exist.
network manager appears as an icon top right on desktop ubuntu
how does your laptop connect to internet ? if it's via wireless then connect tablet to same wireless.
how does your laptop connect to internet ? if it's via wireless then connect tablet to same wireless.
ASKER
I'm using Xubuntu, so I don't have an icon of network manager, so I need to know the command or where it is in /usr/bin.
My laptop is connected with twisted pair to the router under the roof.
This is the relevant ouput from lspci --vv
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
Subsystem: Intel Corporation Device 2701
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (750ns min, 6000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at d0208000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ipw2200
Kernel modules: ipw2200
I'd like to make it work, so the indicator of it in my laptop will be yellow.
My laptop is connected with twisted pair to the router under the roof.
This is the relevant ouput from lspci --vv
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
Subsystem: Intel Corporation Device 2701
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (750ns min, 6000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at d0208000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ipw2200
Kernel modules: ipw2200
I'd like to make it work, so the indicator of it in my laptop will be yellow.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
take a look at http://hydtechblog.com/2009/09/14/how-to-connect-to-ad-hoc-networks-using-tmobile-g1-android/ too
it's a bit old but points to potential problems handling ad-hoc on the tablet.
Looks like it may be imminent http://code.google.com/p/android/issues/detail?id=82
it's a bit old but points to potential problems handling ad-hoc on the tablet.
Looks like it may be imminent http://code.google.com/p/android/issues/detail?id=82
ASKER
>> which release of Xubuntu ?
10.04 (Lucid Lynx)
>> we can do it with command line stuff, network manager is like a GUI to that.
which commands are for this purpuse?
>> According to http://linuxwireless.org/en/users/Drivers the ipw2200 driver you're using doesn't do Access Point mode.
Very nice and useful link. Thanks.
>> ad-hoc IBSS mode is what you need
What is the difference between IBSS mode and AP mode? Is it in distance? Can I go behind the house with IBSS?
>> do you have iwconfig or iw available on the command line ?
Yes, I have both
10.04 (Lucid Lynx)
>> we can do it with command line stuff, network manager is like a GUI to that.
which commands are for this purpuse?
>> According to http://linuxwireless.org/en/users/Drivers the ipw2200 driver you're using doesn't do Access Point mode.
Very nice and useful link. Thanks.
>> ad-hoc IBSS mode is what you need
What is the difference between IBSS mode and AP mode? Is it in distance? Can I go behind the house with IBSS?
>> do you have iwconfig or iw available on the command line ?
Yes, I have both
IBSS = ad hoc = peer to peer communications, rather than being an access point and managing multiple clients. Same power so same distance.
scroll down to "Wireless Extensions CLI tools Method" on https://help.ubuntu.com/community/WifiDocs/Adhoc
and see how you get on. Might need another PC to check if the tablet can't manage it.
scroll down to "Wireless Extensions CLI tools Method" on https://help.ubuntu.com/community/WifiDocs/Adhoc
and see how you get on. Might need another PC to check if the tablet can't manage it.
ASKER
I stucked here
sudo /etc/dbus-1/event.d/25Netw orkManager stop
in event.d directory there is not 25NetworkManager file (it's empty directory)
sudo /etc/dbus-1/event.d/25Netw
in event.d directory there is not 25NetworkManager file (it's empty directory)
ignore it then. It is only to stop something that is running. If it is not running there's nothing to stop so go to next steps.
ASKER
It seems that here is the problem
sudo dhclient eth1
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth1/00:0e:35:b0:a7:88
Sending on LPF/eth1/00:0e:35:b0:a7:88
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
I set the address manually
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 radio off ESSID:"mywlan"
Mode:Ad-Hoc Frequency:2.427 GHz Cell: Not-Associated
Bit Rate:0 kb/s Tx-Power=off Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr: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:0 Invalid misc:0 Missed beacon:0
vboxnet0 no wireless extensions.
sudo dhclient eth1
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth1/00:0e:35:b0:a7:88
Sending on LPF/eth1/00:0e:35:b0:a7:88
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
I set the address manually
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 radio off ESSID:"mywlan"
Mode:Ad-Hoc Frequency:2.427 GHz Cell: Not-Associated
Bit Rate:0 kb/s Tx-Power=off Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr: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:0 Invalid misc:0 Missed beacon:0
vboxnet0 no wireless extensions.
ASKER
Maybe I should install the ipw2200 driver yet. Could you help me how to install it?
I'll have a go at setting up Access Point mode and connecting my phone and get back to you. I have Ubuntu 10.04.
So, my wifi card will run in ad-hoc mode but my Nexus One does not show it as an available wireless network. An ubuntu laptop does show it as available.
My card won't do Master / Access Point mode so I can't test that.
The ipw2200 driver I will try to help but may get out of my depth. It is one you will compile on your machine, if you have the downloaded source file ipw2200-ap-0.3.tgz read the INSTALL document and see how you feel about tackling it.
It's a bit old, which concerns me. But that may just mean you get errors and it won't compile.
Have you considered buying a $30 wireless router instead ?
My card won't do Master / Access Point mode so I can't test that.
The ipw2200 driver I will try to help but may get out of my depth. It is one you will compile on your machine, if you have the downloaded source file ipw2200-ap-0.3.tgz read the INSTALL document and see how you feel about tackling it.
It's a bit old, which concerns me. But that may just mean you get errors and it won't compile.
Have you considered buying a $30 wireless router instead ?
ASKER
OK, it's difficult question. I will close it and ask another question about installing the driver. It's quite difficult for me.
Is this an infrastructure wireless system (with an access point or router) or do you want an adhoc connection between the two ?