Forget the description beneath. Let me ask it in an other way.
I have a ubuntu pc, a wireless router and an android tablet IN THE JUNGLE.No internet what so ever, just a wireless signal from my router.
How can I set this up that I have a permanent link (share) between the pc and tablet. The pc shares to the tablet and the tablet to the pc.
Should I wire the pc to the router on the wan port or the lan port ? ( as mentioned on the net for extending ethernet through an AP on an existing wireless network) Is this just a samba/ssh mather ?
I tried a lot but just couldn't make it work. Pinging works most of the time but every other attemps gives me "host unreacheble".
Thanks
Ced
What follows was the first formulation of the question :
I would like to connect an android phone/tablet to my Ubuntu pc in my car.
Having a spare router I though of making a local wireless network. All the info on the net is about turning the spare router into an access point of a existing Ethernet connection.
In my case the spare router is not connected to the Ethernet wire but directly onto a network port on my pc.In my car I have mobile Ethernet, I have been able to share this connection through the router to broadcast internet to my android phone. I also have a wireless network card ( no master mode possible) to connect my ubuntu pc to wireless networks at work and at home ( car is not moving).
Is there a set-up where you can communicate with a router directly attached to the network card on a Linux pc ?
What it could be used for : sharing music library for xbmc yatse controller in car. This works as a charm at home but not once you're out of range of the wireless network.
Any help would be very appreciated
Thanks in advance.
Cedric
.
33 Answers
i dont quite understand what your asking here but you sound like you have an impressive car, let me just list some things i know thats possible and they might help, if not sorry
Android allows you to create your own Wifi. Try downloading and using the app Airdroid, it allows file transfer, masses on information and many others.
1You could try not using the router, and instead setup an ad-hoc network on your pc. Here is a link to a how-to: Then you could connect your android to that ad-hoc network.
1To be honest, I don't think this is a specific Ubuntu question, as much as a "how to configure a Wireless Access Point" question. The answer is unfortunately as specific as the make and model of the hardware you have.
Most wireless APs can also act as routers, and you can access the web configuration to set up the networking information (depending on the model of Wireless AP). There are a number of ways you might want to set up the network, which is not clear from your question. It is also unclear to me what is providing the Internet connection - is it the Android device, or is it a cellular connection provided by the car (awesome if so!), or something else? In most cases, it is best to let the device acting a the Internet gateway to also manage the network in terms of handing out DHCP leases, NAT and routing, if you want to use Internet inside your car. If you don't, then the default gateway becomes irrelevant in your network setup.
Based on what I can understand from your question, you have 3 wireless-enabled devices that you want to connect to the network; the Ubuntu notebook PC, your Android device, and the car's entertainment system itself (which is using XBMC to play media). I would suggest that you have the Wireless AP act as DHCP server, leasing IP addresses to all devices. This solution requires no wires at all (apart from the one running from the car's 12V socket to a transformer that will power the access point). Alternatively, the wireless access point could use an ethernet cable attached to the notebook's wired ethernet, but it's not necessary. The AP then hands out IP addresses to all devices, and you can stream media from your android device to the XBMC controller.
To set it up, you'll need to find out some details about your wireless AP (you can do a google search for the make and model), and access its web administration interface with a browser while it is powered on. Typically you are putting the AP into "DHCP server mode", where you configure the basic network parameters you want (IP address range and subnet, and gateway - only applicable if you have or want Internet access in the car). The other wireless devices will then connect to it just like your Wireless at home.
2