The other day I was annoyed to find that ATT @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
loLink 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