LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-02-2004, 04:46 PM   #1
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Rep: Reputation: 15
Modem Anoyance


Hey guys i ahd to wipe my pc today as mr linux died. Heh completely my fault corrupted loads of files whilst learning.

Anyway i cant seem to get my modem to work by itself
in order for it to connect i have to manually type
modprobe CDCEther
DCHPCD

Is there anyway i can sort this out.
my rc.inter1.conf READS:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other sett$
# If you don't have an interface, leave the settings null ("").

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]="yes"

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging ou$
# when rc.inet1 is called directly.
DEBUG_ETH_UP="yes"
 
Old 09-02-2004, 07:12 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Since you're using Slackware, these are the steps you need to take...

Modify your /etc/rc.d/rc.modules file and add a line at the end of the file:

/sbin/modprobe CDCEther

Next time you boot the PC (or change into runlevel 3), this module will be automatically loaded.

To automatically try and establish a DHCP connection, in the /etc/rc.d/rc.inet1.conf file, change

USE_DHCP[0]=""
DHCP_HOSTNAME[0]="yes"

to read

USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

You got them reversed. Good luck!
 
Old 09-02-2004, 07:25 PM   #3
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
Tino27: Well spotted, that works fine but the modprobe CDCEther wont work unless i run it as root. with in my guest account any ideas?
 
Old 09-02-2004, 09:06 PM   #4
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Well, if you put the modprobe inside the /etc/rc.d/rc.modules file, it should get executed at bootup time (which should be root by default). Are you saying that you put the line in your rc.modules, rebooted your PC, and it didn't load during the boot process?
 
Old 09-08-2004, 04:52 PM   #5
DaveyB
Member
 
Registered: Aug 2004
Location: UK
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
formatted again getting same problem re-read this thread and did the same thing wrong. Seriously how stupid can 1 person be!
 
  


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
difficulties in modem instalation Agere systems PCI soft modem mcstanoye SUSE / openSUSE 2 02-01-2007 11:48 AM
modem driver for Internal 56Kbps V.92 Data/Fax/Voice Modem sumathi Linux - Hardware 1 08-05-2005 05:12 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 10:21 AM
modem suddenly not working, slackware 10, netcomm in5699 56k modem ludeKing Linux - Hardware 0 07-27-2004 10:44 PM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 03:01 PM


All times are GMT -5. The time now is 06:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration