Find the answer to your Linux question:
Results 1 to 5 of 5
I recently upgraded from Slackware 10.0 to 10.2. 10.0 had been running fine. After the upgrade in had no internet access. After a lot of wheel spining I tracked it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    3

    Slackware 10.0 to 10.2 upgrade network problem


    I recently upgraded from Slackware 10.0 to 10.2. 10.0 had been running fine. After the upgrade in had no internet access. After a lot of wheel spining I tracked it down to not having a default route. Turns out the rc.inet1.conf file was not executable. Changed that and now get no boot errors now but no network either. After booting there is no default route. If I su - to root and manually execute
    . /etc/rc.d/rc.inet1.conf followed by . /etc/rc.d/inet1 then I have my default route and networking works fine. It just does not execute at boot time. Cannot find errors in syslog or anywhere else. Any thoughts? Thanks in advance

    Tom

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    after upgrading did you find and merge the ".new" files into your configs?

    there sounds like theres something wrong with your init scripts layout, as you dont even need /etc/rc.d/rc.inet1.conf executable at all on a proper install.

    Code:
    kernow@ulysses(~)$ ls -lh /etc/rc.d/rc.inet1.conf 
    -rw-r--r-- 1 root root 901 2005-12-05 02:08 /etc/rc.d/rc.inet1.conf
    kernow@ulysses(~)$
    I'd advise to check for any .new files lying around
    Code:
    find / -name *.new
    then merge those into your own configs where applicable

    can you do a
    Code:
    ls -lh /etc/rc.d
    and show us the output too?

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Posts
    3
    Thanks, yes I merged all the local changes into the .new files then changed the running files to .old and copied the .new files to the runnign files. Here is the ls -lh

    root@flinky:~# ls -lh /etc/rc.d
    total 461K
    lrwxrwxrwx 1 root root 4 2006-02-17 11:35 rc.0 -> rc.6*
    -rwxr-xr-x 1 root root 893 2003-01-29 22:43 rc.4*
    -rwxr-xr-x 1 root root 5.7K 2006-02-17 18:00 rc.6*
    -rwxr-xr-x 1 root root 5.7K 2005-08-01 20:12 rc.6.new*
    -rwxr-xr-x 1 root root 5.2K 2006-02-17 18:00 rc.6.old*
    -rwxr-xr-x 1 root root 2.0K 2004-06-21 16:04 rc.K*
    -rwxr-xr-x 1 root root 8.1K 2006-02-17 17:49 rc.M*
    -rwxr-xr-x 1 root root 8.1K 2006-02-17 17:49 rc.M.new*
    -rwxr-xr-x 1 root root 8.0K 2005-07-25 01:00 rc.M.new~*
    -rwxr-xr-x 1 root root 7.9K 2006-02-17 17:49 rc.M.old*
    -rwxr-xr-x 1 root root 7.8K 2005-11-11 16:42 rc.M~*
    -rwxr-xr-x 1 root root 11K 2006-02-17 18:03 rc.S*
    -rwxr-xr-x 1 root root 11K 2005-08-04 21:29 rc.S.new*
    -rwxr-xr-x 1 root root 11K 2006-02-17 18:03 rc.S.old*
    -rwxr-xr-x 1 root root 466 2004-11-05 09:20 rc.acpid*
    -rwxr-xr-x 1 root root 1.7K 2005-07-22 20:41 rc.alsa*
    -rw-r--r-- 1 root root 1.1K 2003-02-02 04:47 rc.atalk
    -rw-r--r-- 1 root root 1.1K 2003-09-21 21:07 rc.bind
    -rw-r--r-- 1 root root 3.9K 2006-02-18 11:32 rc.cups
    -rw-r--r-- 1 root root 3.9K 2005-01-05 03:13 rc.cups.new
    -rw-r--r-- 1 root root 3.9K 2006-02-18 11:32 rc.cups.old
    -rw-r--r-- 1 root root 512 2004-05-15 00:17 rc.dnsmasq
    -rwxr-xr-x 1 root root 119 2004-05-30 06:19 rc.font.new*
    -rwxr-xr-x 1 root root 1.2K 2004-07-01 18:05 rc.gpm*
    -rwxr-xr-x 1 root root 1.5K 2005-09-04 19:57 rc.hotplug*
    -rwxr-xr-x 1 root root 440 2006-02-09 15:31 rc.httpd*
    -rwxr-xr-x 1 root root 5.7K 2006-02-20 07:57 rc.inet1*
    -rwxr-xr-x 1 root root 3.5K 2006-02-19 14:47 rc.inet1.conf*
    -rw-r--r-- 1 root root 3.5K 2006-02-17 17:55 rc.inet1.conf.new
    -rw-r--r-- 1 root root 3.5K 2005-09-04 21:19 rc.inet1.conf.new~
    -rwxr-xr-x 1 root root 8.1K 2005-09-07 22:44 rc.inet1.new*
    -rwxr-xr-x 1 root root 5.8K 2006-02-20 04:36 rc.inet1~*
    -rwxr-xr-x 1 root root 5.2K 2006-02-17 17:59 rc.inet2*
    -rwxr-xr-x 1 root root 5.2K 2005-07-24 23:01 rc.inet2.new*
    -rwxr-xr-x 1 root root 4.5K 2006-02-17 17:59 rc.inet2.old*
    -rwxr-xr-x 1 root root 497 2003-09-12 05:27 rc.inetd*
    -rw-r--r-- 1 root root 1.9K 2003-09-14 01:10 rc.ip_forward
    -rwxr-xr-x 1 root root 143 2004-07-01 17:52 rc.keymap*
    -rwxr-xr-x 1 root root 113 1995-10-03 00:54 rc.local*
    -rw-r--r-- 1 root root 580 2004-05-30 00:16 rc.lprng
    -rwxr-xr-x 1 root root 25K 2006-02-18 11:34 rc.modules*
    -rwxr-xr-x 1 root root 25K 2005-06-06 05:41 rc.modules.new*
    -rwxr-xr-x 1 root root 25K 2006-02-18 11:34 rc.modules.old*
    -rw-r--r-- 1 root root 2.3K 2006-02-18 11:35 rc.mysqld
    -rw-r--r-- 1 root root 2.3K 2005-08-28 04:53 rc.mysqld.new
    -rw-r--r-- 1 root root 2.3K 2006-02-18 11:35 rc.mysqld.old
    -rwxr-xr-x 1 root root 2.4K 2004-06-06 23:52 rc.nfsd*
    -rw-r--r-- 1 root root 4.7K 2004-05-30 06:31 rc.pcmcia
    -rwxr-xr-x 1 root root 905 2003-09-14 01:38 rc.portmap*
    -rwxr-xr-x 1 root root 791 2004-05-11 07:32 rc.samba*
    -rw-r--r-- 1 root root 1.2K 2005-07-25 02:11 rc.saslauthd
    -rwxr-xr-x 1 root root 687 2002-06-04 23:09 rc.sendmail*
    -rwxr-xr-x 1 root root 2.9K 2005-09-13 06:40 rc.serial*
    -rwxr-xr-x 1 root root 1.2K 2005-09-01 16:46 rc.sshd*
    -rwxr-xr-x 1 root root 860 2004-05-03 00:07 rc.syslog*
    -rwxr-xr-x 1 root root 1.7K 1999-09-11 22:48 rc.sysvinit*
    -rwxr-xr-x 1 root root 1.4K 2004-06-14 08:59 rc.udev*
    -rwxr-xr-x 1 root root 8.1K 2005-07-25 09:19 rc.wireless*
    -rw------- 1 root root 7.2K 2006-02-18 11:36 rc.wireless.conf
    -rw------- 1 root root 7.2K 2005-07-25 09:19 rc.wireless.conf.new
    -rw------- 1 root root 6.1K 2006-02-18 11:36 rc.wireless.conf.old
    -rwxr-xr-x 1 root root 2.3K 2004-06-06 02:47 rc.yp*
    -rwxr-xr-x 1 root root 8.1K 2006-02-17 17:53 rcinet1*
    -rw-r--r-- 1 root root 3.5K 2006-02-17 17:56 rcinet1.conf
    -rw-r--r-- 1 root root 898 2006-02-17 17:56 rcinet1.conf.old
    -rwxr-xr-x 1 root root 5.7K 2006-02-17 17:53 rcinet1.old*
    root@flinky:~#

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    to start with I'd delete all the .new and .old files

    you shouldn't have any .new's after you merge them into the real files

  6. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    Heres a listing of mine as a comparison:

    Code:
    kernow@ulysses(~)$ ls -lh /etc/rc.d/
    total 204K
    lrwxrwxrwx 1 root root    4 2005-10-20 23:24 rc.0 -> rc.6
    -rwxr-xr-x 1 root root  893 2003-01-29 21:43 rc.4
    -rwxr-xr-x 1 root root 5.7K 2005-08-01 19:12 rc.6
    -rwxr-xr-x 1 root root 2.0K 2004-06-21 15:04 rc.K
    -rwxr-xr-x 1 root root 8.0K 2005-07-25 00:00 rc.M
    -rwxr-xr-x 1 root root  11K 2005-08-04 20:29 rc.S
    -rwxr-xr-x 1 root root 1.6K 2005-12-05 03:23 rc.alsa
    -rw-r--r-- 1 root root 1.1K 2003-02-02 03:47 rc.atalk
    -rw-r--r-- 1 root root 1.1K 2003-09-21 20:07 rc.bind
    -rw-r--r-- 1 root root 3.9K 2003-12-15 21:23 rc.cups
    -rw-r--r-- 1 root root  512 2004-05-14 23:17 rc.dnsmasq
    -rwxr-xr-x 1 root root 1.5K 2005-09-04 18:57 rc.hotplug
    -rw-r--r-- 1 root root  401 2003-03-05 21:28 rc.httpd
    -rwxr-xr-x 1 root root 8.1K 2005-09-07 21:44 rc.inet1
    -rw-r--r-- 1 root root  901 2005-12-05 02:08 rc.inet1.conf
    -rwxr-xr-x 1 root root 5.2K 2005-07-24 22:01 rc.inet2
    -rwxr-xr-x 1 root root  497 2003-09-12 04:27 rc.inetd
    -rw-r--r-- 1 root root 1.9K 2003-09-14 00:10 rc.ip_forward
    -rwxr-xr-x 1 root root  140 2003-11-10 19:31 rc.keymap
    -rwxr-xr-x 1 root root  463 2005-08-01 12:46 rc.local
    -rw-r--r-- 1 root root  580 2004-05-29 23:16 rc.lprng
    -rwxr-xr-x 1 root root  26K 2006-01-19 17:59 rc.modules
    -rw-r--r-- 1 root root 2.3K 2004-05-20 00:00 rc.mysqld
    -rwxr-xr-x 1 root root  125 2003-11-10 19:35 rc.netdevice
    -rwxr-xr-x 1 root root 2.4K 2004-06-06 22:52 rc.nfsd
    -rw-r--r-- 1 root root 4.7K 2004-05-30 05:31 rc.pcmcia
    -rwxr-xr-x 1 root root  905 2003-09-14 00:38 rc.portmap
    -rwxr-xr-x 1 root root  728 2003-04-07 21:15 rc.samba
    -rw-r--r-- 1 root root 1.2K 2005-07-25 01:11 rc.saslauthd
    -rw-r--r-- 1 root root  687 2002-06-04 22:09 rc.sendmail
    -rwxr-xr-x 1 root root 2.9K 2005-09-13 05:40 rc.serial
    -rwxr-xr-x 1 root root 1.2K 2006-02-07 02:16 rc.sshd
    -rwxr-xr-x 1 root root  860 2004-05-02 23:07 rc.syslog
    -rw-r--r-- 1 root root 1.7K 1999-09-11 21:48 rc.sysvinit
    -rwxr-xr-x 1 root root 1.4K 2004-06-14 07:59 rc.udev
    -rw------- 1 root root 6.1K 2004-06-07 08:22 rc.wireless.conf
    -rw-r--r-- 1 root root 2.3K 2004-06-06 01:47 rc.yp
    kernow@ulysses(~)$

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •