Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] turning off dhcp
Date: Tue, 21 Mar 2006 03:15:54
Message-Id: 20060321030713.96244.qmail@web31713.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] turning off dhcp by Neil Bothwick
1 --- Neil Bothwick <neil@××××××××××.uk> wrote:
2
3 > On Mon, 20 Mar 2006 12:03:30 -0800 (PST), maxim
4 > wexler wrote:
5 >
6 > > I left the /etc/conf.d/(init.d?)net on both
7 > machines
8 > > UN-edited but only get the error message on the
9 > new
10 > > install on the i586.
11 >
12 > That file states that it will use DHCP unless you
13 > edit it to use static
14 > addresses.
15 >
16
17 OK, I edited the net file on *both* machines
18 identically, like so:
19
20 # For a static configuration, use something like this
21 # (They all do exactly the same thing btw)
22 config_eth0=( "192.168.0.2/24" )
23 config_eth0=( "192.168.0.2 netmask 255.255.255.0" )
24
25 Now, the older box(K6) with the new install(2.6.15)
26 boots without error finds the NIC and sets up the
27 network. ifconfig reveals all is cool.
28
29 But the newer box(Sempron) with the
30 earlier(2.6.12)kernel finds the on-board NIC but
31 doesn't set up the net nor give any errors. ifconfig
32 shows only the loop device is operational. The correct
33 module, forcedeth, *is* installed
34
35 lspci:
36 <snip>
37 0000:00:05.0 Bridge: nVidia Corporation CK8S Ethernet
38 Controller (rev a2)
39 <snip>
40
41 dmesg:
42 <snip>
43 forcedeth.c: Reverse Engineered nForce ethernet
44 driver. Version 0.35.
45 <snip>
46 eth0: forcedeth.c: subsystem: 01043:80a7 bound to
47 0000:00:05.0
48 <snip>
49
50 cat /usr/src/linux/.config| grep -i net:
51
52 # Networking support
53 CONFIG_NET=y
54 # Networking options
55 # CONFIG_NET_KEY is not set
56 CONFIG_INET=y
57 # CONFIG_NET_IPIP is not set
58 # CONFIG_NET_IPGRE is not set
59 # CONFIG_INET_AH is not set
60 # CONFIG_INET_ESP is not set
61 # CONFIG_INET_IPCOMP is not set
62 # CONFIG_INET_TUNNEL is not set
63 # CONFIG_NETFILTER is not set
64 # CONFIG_DECNET is not set
65 # CONFIG_NET_DIVERT is not set
66 # CONFIG_ECONET is not set
67 # CONFIG_NET_SCHED is not set
68 # CONFIG_NET_CLS_ROUTE is not set
69 # Network testing
70 # CONFIG_NET_PKTGEN is not set
71 # CONFIG_NETPOLL is not set
72 # CONFIG_NET_POLL_CONTROLLER is not set
73 CONFIG_NETDEVICES=y
74 # ARCnet devices
75 # CONFIG_ARCNET is not set
76 # Ethernet (10 or 100Mbit)
77 CONFIG_NET_ETHERNET=y
78 # CONFIG_NET_VENDOR_3COM is not set
79 # Tulip family network device support
80 # CONFIG_NET_TULIP is not set
81 CONFIG_NET_PCI=y
82 # CONFIG_PCNET32 is not set
83 # Ethernet (1000 Mbit)
84 # Ethernet (10000 Mbit)
85 # CONFIG_NET_RADIO is not set
86 # CONFIG_NET_FC is not set
87
88
89 >
90 > --
91 > Neil Bothwick
92 >
93 > If all the world is a stage, where is the audience
94 > sitting?
95 >
96
97
98 __________________________________________________
99 Do You Yahoo!?
100 Tired of spam? Yahoo! Mail has the best spam
101 protection around
102 http://mail.yahoo.com
103
104 __________________________________________________
105 Do You Yahoo!?
106 Tired of spam? Yahoo! Mail has the best spam protection around
107 http://mail.yahoo.com
108 --
109 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] turning off dhcp John Jolet <john@×××××.net>
Re: [gentoo-user] turning off dhcp Nick Rout <nick@×××××××.nz>