Solved

Connect tablet to my laptop via wifi

Posted on 2011-03-11
17
1,097 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 6

Author Comment

by:xRalf
Comment Utility
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
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 6

Author Comment

by:xRalf
Comment Utility
>> 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Maybe I should install the ipw2200 driver yet. Could you help me how to install it?
0
 
LVL 11

Expert Comment

by:yarwell
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

With the purchase of CloudCommand by Comcast customers are left in a bind as subscriptions expire and render the AP's disabled. The following will explain how to flash your Ubiquiti AP's with CloudCommand firmware back to Ubiquiti firmware. HOWTO…
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now