LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2003, 07:03 AM   #1
DEMONstrator
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
How do I work this: windowsXP sharing a USB modem that is installed on a RedHat 9 PC?


Okay I'm pretty much sorted on how to do anything with windows but as for linux i'm a little in the dark.

My situation is this: I have a PC which dual boots with redhat9 and windowsXP home. To this is connected a USB blueyonder (webstar) broadband cable modem. Now initially I looked around and to get this to work on linux had to put in a NIC and connect it to the modem (it has eth and usb connections but not simultaneously). By effectively taking the network settings as they were on the usb modem in windows and copying that into the eth configuration for the NIC card. Apparently this way the modem would work even though linux did not support it. And work it did using a cat5 cable connecting the PC to the modem.

Except one day I forgot to plug the cat5 cable into the modem and was surfing the net on redhat using ONLY the USB connection of the "unknown" modem, which was entirely unexpected.

Great I thought - this frees up a NIC card so I can connect my other PC. I also have another PC with XP pro (soon also suse9 when it is available) that I hope to network with the redhat pc connected to the internet. I didn't think this would be too difficult until I began looking at the network configs on the redhat box. It would appear that although the modem is not connected to the NIC, the NIC info is somehow important to the operation of the modem. I don't really understand how linux is accessing the internet using just the usb connection since if I run ifconfig -a or if I look at the network hardware only the NIC shows up as eth0, there are no logs for ppp0, which I believed was associated with a USB modem.

How can I set up this NIC to create a network with my XP pro machine without destroying the internet connection? It seems there is no way to set up network info for the cable modem separately from the NIC, ie to have an internal network IP and an external IP (as set by blueyonder).

Most guides I have found on this matter seem to not understand how the USB modem works in linux.

The modem info is: S-A USB cable modem #'it is a webstar

I am using an FA311 netgear NIC using the natsemi module and if i type "ifconfig -a" i get:

eth0 Link encap:Ethernet HWaddr 00:40:7B:7F:F6:97
inet addr:80.235.131.45 Bcast:255.255.255.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:599182 errors:0 dropped:0 overruns:0 frame:0
TX packets:6198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:40708509 (38.8 Mb) TX bytes:943064 (920.9 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:84 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6916 (6.7 Kb) TX bytes:6916 (6.7 Kb)


any help here would be really appreciated.

Adrian
(i only use windows cos of my games that aren't all supported in winex yet)
 
Old 10-15-2003, 08:31 AM   #2
darkseed2g3
Member
 
Registered: Sep 2003
Location: Philadelphia ,Pa
Distribution: Fedora Core 1 BABY !!! YEA
Posts: 67

Rep: Reputation: 19
When you run the USB modem through your linux box, it becomes eth0 . Eth0 with ethernet is usually the device that connects to the internet if you have more then one NIC. PPP0 is used only for modem dialup connections. You basicly have everything set up right you just dont realize it yet.
 
  


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 e-mail across Fedora and WindowsXP dataangel Fedora 5 10-17-2004 10:32 AM
File sharing between Linux and WindowsXP world_man Linux - Networking 2 07-28-2004 04:31 PM
Modem Installed but doesn't Work mir_sheely Linux - Hardware 1 04-02-2004 06:24 AM
RH9 Internet Sharing USB Cable Modem Ju Deddo Koinu Linux - Networking 5 05-01-2003 04:44 AM
USB modem got installed??? corn Linux - Hardware 0 01-05-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:45 PM.

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
Open Source Consulting | Domain Registration