Network problems
Graham J Lee <[email protected]> Tue, 1 Mar 2005 15:07:05 +0000
| Newsgroups | gmane.os.opendarwin.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I just installed OpenDarwin 6.6.2 on my Wallstreet powerbook (I believe
that Darwin 7.x isn't supported - it has 64MiB RAM and no USB) and am
having trouble getting it to observe network configuration. I followed
the Network Configuration HOWTO on the website to set it up.
/etc/iftab contains the following two lines:
lo0 inet 127.0.0.1 netmask 255.0.0.0 up
en0 inet 163.1.245.11 netmask 255.255.248.0 up
and /etc/hostconfig contains these lines[*]:
HOSTNAME=raskin
ROUTER=163.1.247.254
[*]I got the machine this Saturday :(
however, network configuration doesn't stick. Whenever I reboot, the
machine's hostname is 'localhost' and en0 has assigned itself a v4LL
address. If I use ifconfig with the invocation displayed in iftab,
then it will interact with the other machines on the local network but
won't route to the internet properly. If I try to add a default route
using the router shown above, then the messages:
[localhost:~] root# route add default 163.1.247.254
route: writing to routing socket: File exists
add net default: gateway 163.1.247.254: File exists
are shown, and it doesn't then pick up the route. The nameservers
(which are in /etc/resolv.conf rather than NetInfo /locations/resolver)
are the only part of the configuration to work properly across boots.
What have I missed?
Thanks,
Graham.
P.S.
dmesg gives:
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 14057 free pages
mig_table_max_displ = 64
\^[[31mC\^[[32mO\^[[33mL\^[[34mO\^[[35mR\^[[0m video console at
0x82000000 (800x600x8)
IOKit Component Version 6.6:
Sun Jul 6 05:07:21 PDT 2003; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
_cppInit done
IODeviceTreeSupport done
Recording startup extensions.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
using 256 buffer headers and 256 cluster IO buffer headers
IOPCCard info: Mac OS X PCMCIA Card Services 3.1.22
IOPCCard info: options: [pci] [cardbus] [pnp]
IOPCCard info: Intel PCIC probe:
IOPCCard info: TI 1131 rev 01 PCI-to-CardBus phys mem 0x81802000
virt mem 0x0afed000
IOPCCard info: host opts [0]: [pci only] [pci irq 255] [lat
32/176] [bus 1/4]
IOPCCard info: PCI card interrupts, PCI status changes
IOPCCard info: Intel PCIC probe:
IOPCCard info: TI 1131 rev 01 PCI-to-CardBus phys mem 0x81803000
virt mem 0x0afee000
IOPCCard info: host opts [0]: [pci only] [pci irq 255] [lat
32/176] [bus 6/9]
IOPCCard info: PCI card interrupts, PCI status changes
devfs enabled
IOKitBSDInit
From path: "ide0/@0:8,\\mach_kernel", Waiting on <dict
ID="0"><key>IOPathMatch</key><string
ID="1">IODeviceTree:/pci/@10/ata0/@0:8</string></dict>
Got boot device =
IOService:/GossamerPE/pci@80000000/AppleGracklePCI/mac-io@10/Heathrow/
ata0@20000/HeathrowATA/ATADeviceNub@0/IOATABlockStorageDriver/
IOATABlockStorageDevice/IOBlockStorageDriver/TOSHIBA MK2105MAV
Media/IOApplePartitionScheme/untitled@8
BSD root: disk0s8, major 14, minor 8
devfs on /dev
ADB present:c08c
Jettisoning kernel linker.
Resetting IOCatalogue.
BMacEnet: Enabling workaround for broken unicast filter
Number of Descriptors: 256. Total Size: 4096
Size of IODBDMADescriptor: 16.
Number of Descriptors: 256. Total Size: 4096
Size of IODBDMADescriptor: 16.
Number of Descriptors: 256. Total Size: 4096
Size of IODBDMADescriptor: 16.
AppleSCCModem(a5bb00): setPowerState is called -- powerStateOrdinal = 0
BMacEnet: Ethernet address 00:05:02:f5:2e:5a
Ethernet(BMac): Link up at 10 Mbps - Half Duplex
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging disabled
IP firewall loaded
--
Graham Lee GPG Key ID: 01D5B9D8
UNIX Systems Manager,
Oxford Physics Practical Course
http://nextstep.sdf-eu.org 01865 273450