Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Connect tablet to my laptop via wifi

Posted on 2011-03-11
17
Medium Priority
?
1,133 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:xRalf
  • 9
  • 8
17 Comments
 
LVL 11

Expert Comment

by:yarwell
ID: 35108202
What is the tablet ? What OS ? What do you mean by "connect" - share files or ?

Is this an infrastructure wireless system (with an access point or router) or do you want an adhoc connection between the two ?
0
 
LVL 6

Author Comment

by:xRalf
ID: 35110628
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.
0
 
LVL 11

Expert Comment

by:yarwell
ID: 35115580
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.
0
WatchGuard Case Study: Museum of Flight

“With limited money and limited staffing, we didn’t have a lot of choices in terms of what we could do to bring efficiency. WatchGuard played a central part in changing that.” To provide strong, secure Wi-Fi access within the museum, Hunter chose to deploy WatchGuard’s AP120 APs.

 
LVL 6

Author Comment

by:xRalf
ID: 35115651
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.
0
 
LVL 11

Expert Comment

by:yarwell
ID: 35117637
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.
0
 
LVL 6

Author Comment

by:xRalf
ID: 35120214
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.
0
 
LVL 11

Accepted Solution

by:
yarwell earned 2000 total points
ID: 35121954
which release of Xubuntu ?
we can do it with command line stuff, network manager is like a GUI to that.

According to http://linuxwireless.org/en/users/Drivers the ipw2200 driver you're using doesn't do Access Point mode. There is some work at http://sourceforge.net/projects/ipw2200-ap/ to provide that functionality but it is quite old and not well documented / supported from what I can see.

ad-hoc IBSS mode is what you need, do you have iwconfig or iw available on the command line ?

iwconfig method documented at https://help.ubuntu.com/community/WifiDocs/Adhoc (lower down page)


iw method for IBSS/ad-hoc mode documented at http://linuxwireless.org/en/users/Documentation/iw/vif/#IBSS.2BAC8-ad-hoc 
0
 
LVL 11

Expert Comment

by:yarwell
ID: 35122059
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 
0
 
LVL 6

Author Comment

by:xRalf
ID: 35122095
>> 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




0
 
LVL 11

Expert Comment

by:yarwell
ID: 35122337
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.
0
 
LVL 6

Author Comment

by:xRalf
ID: 35125750
I stucked here

sudo /etc/dbus-1/event.d/25NetworkManager stop

in event.d directory there is not 25NetworkManager file (it's empty directory)
0
 
LVL 11

Expert Comment

by:yarwell
ID: 35130735
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.
0
 
LVL 6

Author Comment

by:xRalf
ID: 35131208
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.
0
 
LVL 6

Author Comment

by:xRalf
ID: 35131249
Maybe I should install the ipw2200 driver yet. Could you help me how to install it?
0
 
LVL 11

Expert Comment

by:yarwell
ID: 35132052
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.
0
 
LVL 11

Expert Comment

by:yarwell
ID: 35145154
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 ?
0
 
LVL 6

Author Comment

by:xRalf
ID: 35154195
OK, it's difficult question. I will close it and ask another question about installing the driver. It's quite difficult for me.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working settings for French ISP Orange "Prêt à Surfer" SIM cards for data connections only. Can't be found anywhere else !
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question