Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Connect tablet to my laptop via wifi

Posted on 2011-03-11
17
Medium Priority
?
1,131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

688 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