> > > > The other day I was annoyed to find that AT&T @Home cable had changed 
> my
>  > IP
>  > >  > address without my knowledge.  I played around in Linuxconf and
>  > > DrakProfile
>  > >  > to change system settings to reflect that.  Next time I booted up, 
my
>  > >  > internet connection didn't work.  Now whenever I try to make 
> connections
>  > > to
>  > >  > remote sites, I get "unknown host."
>  > >
>  > >  You are complaining about a static address issue, yet below, you say 
> you
>  > are
>  > >  using DHCP (DYNAMIC Host Configuration Protocol); which is it...?
>  > 
>  > I'm pretty sure it's static.  But I'm also pretty sure that my IP 
address 
> has
>  > indeed changed.  Is it possible for static IPs to do that?  This is the 
> first
>  > time it's changed ever (stayed the same for over a year, since we got 
> cable
>  > installed).  But I always did need to type "DHCPCD -I C428830-A -h home.
> com"
>  > go get the network running when I logged in.  Then I put it in some 
> startup
>  > script so I didn't need to keep typing it.
>  
>  DHCP "leases" an IP address; sounds like you've been getting the same IP 
> address
>  every time...  just lucky I guess.  

Ok, here's what I've *heard*:  My cable provider does provide static IPs.  
However, it _says_ they are dynamic to discourage people from running 
servers.  How do people who don't need DHCP connect to the internet from 
Linux, what program/script do they use then?

>  > >  > Here's what bootup tells me:
>  > >  >
>  > >  > network: Setting network parameters:  succeeded
>  > >  > ifup: SIOCADDRT: Network is unreachable
>  > >  > network: Bringing up interface lo:  succeeded
>  > >  > ifup: Delaying eth0 initialization.
>  > >  > network: Bringing up interface eth0:  failed
>  > >
>  > >  Have you checked your NETMASK?
>  > 
>  > Uhh...What is that?
>  
>  Usually looks like 255.255.255.0 or somesuch; not important right now 
since 
> you
>  have other problems (below)....
>  
>  > >  > I don't know why this would be.  I've checked my settings in 
Windows,
>  > and
>  > > it
>  > >  > appears as if everything is the same in both systems.
>  > >  >
>  > >  > Other notes:
>  > >  > NIC is enabled, to use DHCP.
>  > >
>  > >  So changing your IP address should not have been an issue.
>  > 
>  > I guess not.
>  > 
>  > >  give us the output of:
>  > >
>  > >     ifconfig
>  > lo        Link encap:Local Loopback            # Is this bad news? :)
>  >           inet addr:127.0.0.1  Mask:255.0.0.0
>  >           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>  >           RX packets:22 errors:0 dropped:0 overruns:0 frame:0
>  >           TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
>  >           collisions:0 txqueuelen:0
>  
>  No, but the lack of an eth0 is...  hmm... I must've forgot to ask for 
"dmesg"
>  output...  that might be useful since the ethernet appears to be missing...

Here's "dmesg":

Linux version 2.2.17-21mdk ([EMAIL PROTECTED]) (gcc version 2.95.3 
19991030 (prerelease)) #1 Thu Oct 5 13:16:08 CEST 2000
Detected 299290 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 598.02 BogoMIPS
Memory: 62764k/65512k available (1136k kernel code, 416k reserved, 1068k 
data, 128k init, 0k bigmem)
Dentry hash table entries: 8192 (order 4, 64k)
Buffer cache hash table entries: 65536 (order 6, 256k)
Page cache hash table entries: 16384 (order 4, 64k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: L1 I Cache: 32K  L1 D Cache: 32K
CPU: AMD-K6(tm) 3D processor stepping 00
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13)
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K size
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller on PCI bus 00 dev 78
ALI15X3: chipset revision 32
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x7090-0x7097, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x7098-0x709f, BIOS settings: hdc:DMA, hdd:pio
hda: QUANTUM Bigfoot TX6.0AT, ATA DISK drive
hdb: WDC WD205BA, ATA DISK drive
hdc: ATAPI CD-ROM DRIVE 32X MAXIMUM, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: QUANTUM Bigfoot TX6.0AT, 5748MB w/69kB Cache, CHS=732/255/63, (U)DMA
hdb: WDC WD205BA, 19574MB w/2048kB Cache, CHS=2495/255/63, (U)DMA
hdc: ATAPI 32X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.11
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
   pII_mmx   :   659.511 MB/sec
   p5_mmx    :   623.697 MB/sec
   8regs     :   445.389 MB/sec
   32regs    :   279.654 MB/sec
using fastest function: pII_mmx (659.511 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
 hda: hda1
 hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 128k freed
Adding Swap: 64224k swap-space (priority -1)
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
OPL3 not detected ff
parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPEPP,ECPPS2]
parport0: detected irq 7; use procfs to enable interrupt-driven operation.
parport_probe: failed
parport0: no IEEE-1284 device present.
lp0: using parport0 (polling).
VFS: Disk change detected on device ide1(22,0)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
VFS: Disk change detected on device fd(2,0)
end_request: I/O error, dev 02:00 (floppy), sector 0


>  
>  > >     route -n
>  > Kernel IP routing table
>  > Destination     Gateway         Genmask         Flags Metric Ref    Use 
> Iface
>  > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 
lo
>  
>  Only a loopback address... to be expected since eth0 is not up; but this
>  situation will not let any packets leave this machine.
>  
>  > >     lsmod
>  > Module                  Size  Used by
>  > parport_pc              7568   0  (autoclean)
>  > parport                 7744   0  (autoclean) [parport_pc]
>  > lockd                  32208   1  (autoclean)
>  > sunrpc                 54640   1  (autoclean) [lockd]
>  > autofs                  9456   2  (autoclean)
>  > cs4232                  2960   0
>  > ad1848                 16848   0  [cs4232]
>  > uart401                 6384   0  [cs4232]
>  > sound                  58368   0  [cs4232 ad1848 uart401]
>  > soundlow                 464   0  [sound]
>  > soundcore               2800   6  [sound]
>  > nls_cp437               3952   8  (autoclean)
>  > vfat                    9408   4  (autoclean)
>  > fat                    30432   4  (autoclean) [vfat]
>  > supermount             14224   2  (autoclean)
>  
>  No eth driver either.
>  
>  > >
>  > >  and the contents of:
>  > >
>  > >     /etc/modules.conf
>  > alias net-pf-4 ipx
>  > pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
>  > alias usb-interface usb-ohci
>  > alias parport_lowlevel parport_pc
>  > pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq
>  > alias sound-slot-0 cs4232
>  > options sound dmabuf=1
>  > alias midi opl3
>  > options opl3 io=0x388
>  > options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=10  #mpuirq
>  > _should be 11
>  > options via-rhine irq=10
>  
>  So the sound card is grabbing the eth interrupt...  I'm not familiar with 
> that card...  need to see "dmesg" output...

My soundcard is a Crystal Audio PnP...one of those soundcards built right 
into the motherboard.  Would you mind explaining the point of having those 
hardware things, like eth0 and midi, aliased?  Is that just so their name 
doesn't have to be changed when a new piece of hardware is installed, or in a 
similar situation?

>  
>  > alias eth1 via-rhine              #I think DrakProfile set this up.  Ok 
to
>  > delete?
>  
>  Sure.  I've seen other mails about duplicate eth entries; didn't pay 
> attention
>  to the details...  I'm re-inserting expert list in case someone at Mandrake
>  needs to see this situation first hand.
>  
>  > alias eth0 via-rhine                 #This is what worked before
>  > >     /etc/resolv.conf
>  > search cdrrpd1.ia.home.com
>  > 
>  > nameserver 24.2.240.33
>  > nameserver 24.2.240.34
>  
>  These resolve to proxy1 and proxy2.cdrrpd1.ia.home.com

What're you saying?  Is that what I should replace those IPs with?

>  
>  > >     /etc/sysconfig/network
>  > NETWORKING=yes
>  > FORWARD_IPV4=no
>  > DHCP_HOSTNAME=C428830-A.cdrrpd1.ia.home.com
>  > HOSTNAME=C428830-A.cdrrpd1.ia.home.com
>  > DOMAINNAME=cdrrpd1.ia.home.com
>  > GATEWAY=24.22.240.1
>  
>  The gateway has no DNS entry; but I can ping it; also, unusual that it 
would
>  have an address outside your subnet (see my comment about IP and mask 
below).
> 
>  
>  > GATEWAYDEV=""
>  
>  This should read ...="eth0" but was probably clobbered because the eth 
> interface
>  is not detected.
>  
>  > >     /etc/sysconfig/network-scripts/ifcfg-eth0
>  > DEVICE=eth0
>  > BOOTPROTO=dhcp
>  > IPADDR=24.22.96.170       #This is my old IP address
>  > NETMASK=""              #What does this mean?
>  > NETWORK=24.2.240.0
>  > BROADCAST=24.2.243.255
>  > ONBOOT=yes
>  
>  Something is seriously wrong here...  NETMASK is missing; based on 
BROADCAST 
> and
>  NETWORK, NETMASK probably should be 255.255.252.0 (aka /22; yup, a legit
>  non-byte-boundary mask)...  However, IPADDR is not within NETWORK/BROADCAST
>  space...  you may have gotten a partial DHCP config...
>  
>  > >     /proc/interrupts
>  >            CPU0
>  >   0:     141569          XT-PIC  timer
>  >   1:       1628          XT-PIC  keyboard
>  >   2:          0          XT-PIC  cascade
>  >   5:          0          XT-PIC  Crystal audio controller
>  >   8:          1          XT-PIC  rtc
>  >  10:          0          XT-PIC  MPU-401 UART   # MPU-301 is on IRQ 11
>  >  12:      14273          XT-PIC  PS/2 Mouse
>  >  13:          1          XT-PIC  fpu
>  >  14:      75183          XT-PIC  ide0
>  >  15:         20          XT-PIC  ide1
>  > NMI:          0
>  
>  Gotta resolve this interrupt problem first.
>  
>  > >     /proc/ioports
>  > 0000-001f : dma1
>  > 0020-003f : pic1
>  > 0040-005f : timer
>  > 0060-006f : keyboard
>  > 0070-007f : rtc
>  > 0080-008f : dma page reg
>  > 00a0-00bf : pic2
>  > 00c0-00df : dma2
>  > 00f0-00ff : fpu
>  > 0170-0177 : ide1
>  > 01f0-01f7 : ide0
>  > 02f8-02ff : serial(auto)
>  > 0330-0333 : MPU-401 UART       # Window's "System Properties" says 0330-
> 0331
>  
>  What does it say for your eth card (which is missing here too)?

Windows System Properties gives me 7000-707F.

>  
>  > 0376-0376 : ide1
>  > 03c0-03df : vga+
>  > 03f6-03f6 : ide0
>  > 0534-0537 : Crystal audio controller
>  > 7090-7097 : ide0
>  > 7098-709f : ide1
>  > 
>  > So...is it okay to play around with some of these values, and it'll 
effect 
> my
>  > system on the next startup?  I don't want to make things worse... :)
>  > As you may have noticed, I commented on all the things I saw as
>  > potential/probable problems.  # comments are always valid in config 
files,
>  > right?
>  > 
>  > Please forgive me if my earlier post annoyed you.  I was a bit irratible 
> that
>  > my internet connection wasn't working, you see.  Internet is my 
lifeblood.
>  > Yeah yeah, I use AOL for email.  I see the irony too.
>  > 
>  > Thanks a lot.  I'm waiting for a go-ahead <g>
>  
>  Has the sound card always been there?  Hopefully I've provided enough 
> analysis
>  as to what's wrong for someone (Mandrake?) to help with the duplicate ethN
>  entries and IRQ conflict while I head off to sleep.

Yes, the sound card has always been here.  I left something out with my first 
post, because I didn't want to make my problem sound overly-complicated 
(which maybe it is).  I have never gotten both sound and the internet to work 
from Linux at the same time.  Had to choose one or the other.  I posted 
something similar in the past, but it was ignored.  Here's the section of 
isapnp.conf that's of interest, and explained below

(CONFIGURE CSC8025/-1 (LD 3
#     ANSI string -->MPU<--
# Multiple choice time, choose one only !
#     Start dependent functions: priority preferred
#       IRQ 9.
#             High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 11 (MODE +E)))
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 8 bytes
#             Number of IO addresses required: 2

Ok, the IRQ part...when it's on IRQ 11, the sound works.  When it's on IRQ 
10, the network card works.  After the thing the other day where the internet 
became unreachable, I changed this line back to 11 so at least I could once 
again enjoy sound.  I figured that fixing one problem would solve the other.  
Like my olp3 doesn't work, even though arts works fine.  I have a feeling 
that once this network problem is solved, the olp3 one will be too.  But 
getting MIDI back isn't important at all compared to the internet.

>  "dmesg" output might help; but enough info here indicates a hardware issue 
> may
>  be the root cause... though the duplicate eth stuff is likely a software 
> issue.

How do you know all this stuff?  What's your job?

>  
>  Pierre
>  
>  > Dan
>  > ICQ 4689648
>  > 
>  
>  -- 
>  Support Linux development:  http://www.linux-mandrake.com/donations/
>  

Reply via email to