LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-14-2003, 11:12 AM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
USB Cable Modem


I recently got an USB Cable modem. Everything is working fine with it, my kernel is supporting it... except one little problem.

I have a network card (realtek 8139, working very fine habitually) with a fix ip adress (192.168.0.1) I'm using for my local network.
Strangely, when my system get the adress from my ISP (using my USB cable modem) it assigns it to my network card. It also change my hostname.
But the USB modem has business to do with my network card.

So I can't use my network and internet at the same time. It there a way to force linux to does not assign the ip I get from my ISP dhcp to the network card or to assign it to another (virtual?) network card?
 
Old 02-15-2003, 02:31 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You may need to setup routing software so that your network or LAN is seperate from the internet or WAN (wide area network).
 
Old 02-16-2003, 12:29 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 46
What do you mean by "routing software"?
 
Old 02-16-2003, 06:34 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
IPchains, IPtables, or something similar or better.

Example of routing instructions
http://www.justlinux.com/nhf/Networks/Routing.html

You may have a hard time configuring the cable modem.

You can always get a router and connect the cable modem to it. Then your whole network has access to the internet with out any problems.
 
Old 02-17-2003, 06:42 AM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 46
Thank you I will take a look. It seems really hard
It's not possible to just create a virtual card to receive DHCP adress?
 
Old 02-23-2003, 05:47 PM   #6
klop
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 8.0
Posts: 14

Rep: Reputation: 0
I have that problem too any ideas?

I have 1 NIC (RTL8139) and a USB cable modem.
If I unplug my usb cable modem, my nic is eth0 with a fixed ip address (192.169.0.1) and everythings working fine, but if I plug my usb cable modem, my eth0 is still my NIC with 192.168.0.1 and has the MAC address of my cable modem.

It seems that my usb cable modem try to assign eth0 as my cable modem...

If i go to system preferences, network (GUI), it tells me that the alias of eth0 in my modules.conf is 8139too (my NIC) and the module that is currently loaded is CDCEther (my usb cable modem)...

Anyone knows how to solve my problem?

I would greatly appreciate because I had this problem for the last 4 months...

Thanks
 
Old 02-24-2003, 09:09 AM   #7
klop
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 8.0
Posts: 14

Rep: Reputation: 0
Unhappy

Okay I tried something.

I unpluged my USB Cable modem and I booted my Linux.
My NIC was detect as eth0 with 192.168.0.1.
After Linux has booted I have plugged my USB Cable modem and I have add eth1 and I type ifconfig eth1 up and my USB Cable modem was eth1!!!
Everything was working fine!!!

But the only problem is that when I have rebooted my problem was still there... When it was booting, it says mounting eth0 (OK) and mounting eth1 (FAILED). No device blah blah... That means the problem is when Linux is booting because I got my eth0 and eth1 working at the same time when it was already booted...

Anyone can help me plz??
 
  


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
Usb cable modem Taekdar Linux - Networking 1 11-08-2004 07:45 PM
USB Cable Modem kpfox1 Linux - Hardware 4 04-21-2003 06:41 PM
Usb Cable Modem FuLL-On-Newbie Linux - Networking 2 04-15-2003 09:26 AM
usb cable modem jiorgee Linux - General 1 02-27-2003 08:36 AM
USB cable modem kills usb keyboard sketi Linux - Hardware 1 02-22-2003 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:49 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
Open Source Consulting | Domain Registration