Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After emerge system -uvD default route is not set
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
linuxbum
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2003
Posts: 131
Location: USA

PostPosted: Wed Dec 15, 2004 3:09 pm    Post subject: After emerge system -uvD default route is not set Reply with quote

Hello Everybody,
I just completed emerge system -uvD on my sparc running Kern 2.4.25.

And now upon reboot the default gateway is not setup any more.

But the eth0 interface is correctly setup with no problems.
If I add default route in all works great..

The link in /etc/init.d for eth0 points to eth.lo this was changed on 12-10 the date I did update.
Is this correct?
The information in /etc/conf.d/net is correct.
I don't see the gateway being set on boot....

here is dmesg:



    root@cruz18 ~ # dmesg
    PROMLIB: Sun IEEE Boot Prom 3.11.1 1997/12/03 15:44
    Linux version 2.4.25-sparc (root@cruz18) (gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3)) #2 Thu Apr 1 09:49:15 MST 2004
    ARCH: SUN4U
    Ethernet address: 08:00:20:86:2a:4a
    On node 0 totalpages: 15851
    zone(0): 16291 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    Found CPU 0 (node=f006496c,mid=0)
    Found 1 CPU prom device tree node(s).
    Kernel command line: root=/dev/sda4
    Console: colour dummy device 80x25
    Calibrating delay loop... 333.41 BogoMIPS
    Memory: 125208k available (2064k kernel code, 520k data, 152k init) [fffff80000000000,0000000007f46000]
    Dentry cache hash table entries: 16384 (order: 5, 262144 bytes)
    Inode cache hash table entries: 8192 (order: 4, 131072 bytes)
    Mount cache hash table entries: 512 (order: 0, 8192 bytes)
    Buffer cache hash table entries: 1024 (order: 0, 8192 bytes)
    Page-cache hash table entries: 16384 (order: 4, 131072 bytes)
    POSIX conformance testing by UNIFIX
    PCI: Probing for controllers.
    SYSIO: UPA portID 1f, at 000001fe00000000
    sbus0: Clock 25.0 MHz
    dma0: HME DVMA gate array
    Sparc Zilog8530 serial driver version 1.68.2.2
    Sun Mouse-Systems mouse driver version 1.00
    tty00 at 0xf1100004 (irq = 12,7e8) is a Zilog8530
    tty01 at 0xf1100000 (irq = 12,7e8) is a Zilog8530
    tty02 at 0xf1000004 (irq = 12,7e8) is a Zilog8530
    tty03 at 0xf1000000 (irq = 12,7e8) is a Zilog8530
    Sun TYPE 5 keyboard detected without keyclick
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    devfs: boot_options: 0x1
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    Console: switching to colour frame buffer device 128x54
    fb0: Creator at 000001fc00000000 type 8 DAC 10
    rtc_init: no PC rtc found
    sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
    eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:86:2a:4a
    [drm] Initialized ffb 0.0.1 20000517 on minor 0
    Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    SCSI subsystem driver Revision: 1.00
    qlogicfc : PCI not present
    esp0: IRQ 4,7e0 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
    ESP: Total of 1 ESP hosts found, 1 actually in use.
    scsi0 : Sparc ESP366-HME
    Vendor: SEAGATE Model: ST32171W SUN2.1G Rev: 7462
    Type: Direct-Access ANSI SCSI revision: 02
    Vendor: SEAGATE Model: ST34371W SUN4.2G Rev: 7462
    Type: Direct-Access ANSI SCSI revision: 02
    esp0: hoping for msgout
    Vendor: IBM Model: 0663L12 Rev: s x
    Type: Direct-Access ANSI SCSI revision: 02
    Vendor: TOSHIBA Model: XM5701TASUN12XCD Rev: 0997
    Type: CD-ROM ANSI SCSI revision: 02
    Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
    Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
    esp0: target 0 [period 100ns offset 15 20.00MHz FAST-WIDE SCSI-II]
    SCSI device sda: 4157201 512-byte hdwr sectors (2128 MB)
    Partition check:
    /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4
    esp0: target 1 [period 100ns offset 15 20.00MHz FAST-WIDE SCSI-II]
    SCSI device sdb: 8385121 512-byte hdwr sectors (4293 MB)
    /dev/scsi/host0/bus0/target1/lun0: p2 p3 p4
    SCSI device sdc: 1962030 512-byte hdwr sectors (1005 MB)
    /dev/scsi/host0/bus0/target2/lun0: p1 p3
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
    esp0: target 6 asynchronous
    sr0: scsi-1 drive
    Uniform CD-ROM driver Revision: 3.12
    mice: PS/2 mouse device common for all mice
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 1024 buckets, 8Kbytes
    TCP: Hash tables configured (established 16384 bind 16384)
    Linux IP multicast router 0.06 plus PIM-SM
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    EXT2-fs warning (device sd(8,4)): ext2_read_super: mounting ext3 filesystem as ext2

    VFS: Mounted root (ext2 filesystem) readonly.
    Mounted devfs on /dev
    Adding Swap: 500064k swap-space (priority -1)
    Adding Swap: 500024k swap-space (priority -2)
    EXT2-fs warning (device sd(8,20)): ext2_read_super: mounting ext3 filesystem as ext2

    eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
    sunmouse: Successfully adjusted to 1200 baud.



thanks for reading :lol:

BTW work around was to put route add statement into /etc/conf.d/local.start :mrgreen:
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Wed Dec 15, 2004 4:07 pm    Post subject: Reply with quote

net.eth0 should be a different file to net.lo (it is on my system) it may be different for a sparc I don't know. Try emerging baselayout and see if it fixes anything.
Back to top
View user's profile Send private message
linuxbum
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2003
Posts: 131
Location: USA

PostPosted: Thu Dec 16, 2004 3:06 pm    Post subject: Reply with quote

Baselayout did not change anything.

Any other Ideas.
Thanks for response.
net.eth0 file is correct .
To fix it I setup routeadd in conf.d then run out of local.start.

But I did not need to do this before last emerge. :-(

Maybe I ask this to be moved to sparc fourm?
Weave and the other admins there may not look over here?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum