LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2015, 06:23 AM   #1
Anil Kagi
Member
 
Registered: Aug 2014
Distribution: LinuxMint 17 Qiana Cinnamon
Posts: 149

Rep: Reputation: 0
Sharing internet through data cable from a mobile that is already sharing via wifi


Hello everybody,

I am seeking help regarding sharing internet connection. I would be greatful.

I have;
  • A Laptop : Samsung RV509, i3, 300GB HDD, 3GB Ram, Dual boot Windows7 & LM 17 cinnamon 32bit. WiFi & Bluetooth available.
  • A Desktop PC : Celeron CPU 2.4GHZ, 40 GB HDD, 1GB RAM, LiveUSB-LM 17 cinnamon 32bit, No WiFi hardware available, No Bluetooth hardware available.
  • A mobile phone : Nokia Asha 500, WiFi & Bluetooth available.
  • An old USB data cable: with which the mobile phone can be connected to the computers. I have successfully connected and transfered data back & forth, and also shared/connected Mobile-Broadband-internet to both Laptop and Desktop.


What I have been doing now is; I have an internet connection to my Laptop with an external modem and Ethernet. Its working fine. I have an unlimited plan and so I want to share this internet connection on the mobile phone too; instead of incuring extra cost by connecting to the internet directly through the phone. I am successful at that. I can share this internet connection on my phone through WiFi.

Now, what I want to do is; without buying any extra hardware, to share this same internet connection on my Desktop PC, too.

What I tried is; I searched the web, but didn't find any solution. Now I am here. Please kindly help me.

Thank you & Regards

Anil

Last edited by Anil Kagi; 02-04-2015 at 06:24 AM.
 
Old 02-04-2015, 07:56 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,845
Blog Entries: 36

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
You could create a crossover cable using the wiring Ethernet standard EIA/TIA 568A on one end and EIA/TIA 568B on the other. Then connect to the Nokia over wifi with the laptop and mobile phone. Use your newly created Ethernet cable to connect the Ethernet ports of the laptop and desktop (their IPs will be static unless you set up DHCP). Configure iptables to use NAT on the laptop because the desktop is connecting through it.

If you take apart one end of an existing Ethernet cable and it doesn't follow the EIA/TIA 568 standard then simply reverse the colored wires at the other end. That will also create a crossover cable. Please note, it is really difficult to take apart and re-assemble Ethernet cables without an RJ-45 crimper and purchasing an RJ-45 connector.

Summary,

Code:
nokia <-> wifi <-> mobile
nokia <-> wifi <-> laptop <-> hard wired Ethernet <-> desktop
That is probably the least expensive solution. If you know you have a crossover cable laying around then even better. Happy hacking .

SAM

Last edited by sag47; 02-04-2015 at 08:13 AM.
 
Old 02-05-2015, 06:25 AM   #3
Anil Kagi
Member
 
Registered: Aug 2014
Distribution: LinuxMint 17 Qiana Cinnamon
Posts: 149

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sag47 View Post
You could create a crossover cable using the wiring Ethernet standard EIA/TIA 568A on one end and EIA/TIA 568B on the other. Then connect to the Nokia over wifi with the laptop and mobile phone. Use your newly created Ethernet cable to connect the Ethernet ports of the laptop and desktop (their IPs will be static unless you set up DHCP). Configure iptables to use NAT on the laptop because the desktop is connecting through it.

If you take apart one end of an existing Ethernet cable and it doesn't follow the EIA/TIA 568 standard then simply reverse the colored wires at the other end. That will also create a crossover cable. Please note, it is really difficult to take apart and re-assemble Ethernet cables without an RJ-45 crimper and purchasing an RJ-45 connector.

Summary,

Code:
nokia <-> wifi <-> mobile
nokia <-> wifi <-> laptop <-> hard wired Ethernet <-> desktop
That is probably the least expensive solution. If you know you have a crossover cable laying around then even better. Happy hacking .

SAM
Thanks for coming sag47,

I thought over your suggestions. However, the sugestion is about connecting the Laptop & the Desktop physically through a cable. On the other hand I was thinking of something like below, where there is no physical connection between the Laptop & the Desktop.

Code:
Internet sharing path = laptop <-> wifi <-> mobile <-> USB cable <-> desktop
Thank you for the helping hand, sag47.

Regards

Anil
 
Old 02-05-2015, 07:27 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,402

Rep: Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655
Maybe. If your laptop's wireless chipset is compatible with hostapd then you could create an access point. The adapter has to be capable of being configured as a master which may not be possible.

All other solutions may involve purchasing some hardware.

Last edited by michaelk; 02-05-2015 at 07:30 AM.
 
Old 02-05-2015, 08:08 AM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,845
Blog Entries: 36

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by Anil Kagi View Post
Thanks for coming sag47,

I thought over your suggestions. However, the sugestion is about connecting the Laptop & the Desktop physically through a cable. On the other hand I was thinking of something like below, where there is no physical connection between the Laptop & the Desktop.

Code:
Internet sharing path = laptop <-> wifi <-> mobile <-> USB cable <-> desktop
Thank you for the helping hand, sag47.

Regards

Anil
Typically mobile devices only allow one mode of tethering (Nokia included). Either the Nokia device shares internet through its wifi or it shares internet through USB. I'm fairly certain the method I described is the only way to have all of your devices connected without spending money on a wifi card or wireless access point.

E.g.

Code:
nokia <-> USB <-> desktop NAT <-> wifi access point <-> laptop/mobile

Or

Nokia <-> wifi using wifi card <-> desktop
Unless your Nokia explicitly states a special feature of dual tethering through both wifi and USB I'm afraid you're limited by the technology.

Last edited by sag47; 02-05-2015 at 08:15 AM.
 
Old 02-05-2015, 10:10 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,402

Rep: Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655
I believe that sag47 is correct you can not use the phone's wifi to share an internet connection. However, since the OP does not want to use the Phone to share due to limits this means that what the OP wants to accomplish is not possible with out extra hardware.
 
Old 02-05-2015, 11:03 PM   #7
Anil Kagi
Member
 
Registered: Aug 2014
Distribution: LinuxMint 17 Qiana Cinnamon
Posts: 149

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Maybe. If your laptop's wireless chipset is compatible with hostapd then you could create an access point. The adapter has to be capable of being configured as a master which may not be possible.

All other solutions may involve purchasing some hardware.
Thank you michaelk, for your concern,

How to know if my laptop's wireless chipset is compatible with hostapd?

Quote:
Originally Posted by michaelk View Post
I believe that sag47 is correct you can not use the phone's wifi to share an internet connection. However, since the OP does not want to use the Phone to share due to limits this means that what the OP wants to accomplish is not possible with out extra hardware.
OK then. If that is the case I shall purchase any required hardware.

But before purchasing, I wanted do discuss on something that is lingering in my mind, just to sharpen my ignorance a bit in this matter.

Consider the situation;

the mobile is 'ON' [I mean it is sharing/connected to the internet through wifi from the Laptop]; the mobile is physically connected to the Desktop through the USB cable; the Desktop wants to use the internet that is 'live' inside the mobile, through the USB cable. Afterall the Desktop just wants to dip its beak into the water [internet] already flowing inside the Phone . Accessibility is also possible. The only thing that remains is, giving the Desktop the address of the point where the flow is available .

Now here I humbly feel, the only thing that is required is one of the following;
  • Establish a network-connection between the Desktop and the Phone.

Isn't there a software/programme, to install in the Desktop or Phone, that can link the physical addresses of the Desktop & the Phone and make the Desktop use the 'live internet' inside the phone? OR;
  • The browser in the Desktop needs to be linked to the the 'live internet' inside the phone.

So can we not, tweak the browser [here in my case Firefox] to connect to the 'live internet' inside the phone, by feeding the physical address of the mobile in the browser?
  • The Operating system of the phone needs to be accessed from the PC through the USB cable.

Isn't there any software [other than Nokia Ovi & PC suite. they are not working in my case] by which I can enter the OS of the phone and use a browser installed inside the phone, to access the 'live internet' inside the phone.

These are some of the thoughts that are lingering in my mind.

Could you please kindly through light upon my 'un-informed' thoughts.

Thanks a lot michaelk, for coming.

Regards

Anil

Last edited by Anil Kagi; 02-05-2015 at 11:18 PM.
 
Old 02-05-2015, 11:15 PM   #8
Anil Kagi
Member
 
Registered: Aug 2014
Distribution: LinuxMint 17 Qiana Cinnamon
Posts: 149

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sag47 View Post
Typically mobile devices only allow one mode of tethering (Nokia included). Either the Nokia device shares internet through its wifi or it shares internet through USB. I'm fairly certain the method I described is the only way to have all of your devices connected without spending money on a wifi card or wireless access point.

E.g.

Code:
nokia <-> USB <-> desktop NAT <-> wifi access point <-> laptop/mobile

Or

Nokia <-> wifi using wifi card <-> desktop
Unless your Nokia explicitly states a special feature of dual tethering through both wifi and USB I'm afraid you're limited by the technology.
Thank you sag47,

Is it possible to add some software in the Phone or Desktop, to enable USB tethering, if that helps?

Thank you

Regards

Anil
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing Internet Connectivity via. USB cable sjmarshy Linux - Newbie 5 04-23-2009 03:36 PM
sharing broad band internet cable atomas123 Linux - Networking 2 11-22-2006 12:28 PM
Internet sharing through crossover cable iamtux Linux - Networking 3 09-01-2005 07:53 AM
internet conection sharing with cable modem anorman Linux - Networking 1 07-21-2004 11:49 PM
Toshiba Cable Modem-Internet Sharing greenarrow Linux - Hardware 4 06-26-2003 07:53 PM


All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration