LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Modem Anoyance (https://www.linuxquestions.org/questions/linux-newbie-8/modem-anoyance-225843/)

DaveyB 09-02-2004 03:46 PM

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"

Tino27 09-02-2004 06:12 PM

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!

DaveyB 09-02-2004 06:25 PM

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?

Tino27 09-02-2004 08:06 PM

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?

DaveyB 09-08-2004 03:52 PM

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


All times are GMT -5. The time now is 04:19 PM.