1 |
2007/4/4, Alexander Skwar <listen@×××××××××××××××.name>: |
2 |
> Chuanwen Wu <wcw8410@×××××.com> wrote: |
3 |
> |
4 |
> > How can I rename eth3 to eth0? |
5 |
> |
6 |
> Modify the file /etc/udev/rules.d/70-persistent-net.rules to suit your needs. |
7 |
Yeah,I change eth3 to eth0 and it works!Thank you! |
8 |
> |
9 |
> > Or if I use eth3,what do I need to do to fix it? |
10 |
> > Cause after I changed eth0 to eth3 in cond.d/net and added eth3 to |
11 |
> > rc-update,when I boot up my machine,new error occur: |
12 |
> > |
13 |
> > Bringing up eth3 |
14 |
> > default |
15 |
> > No load modules provide "default" (default-start) |
16 |
> |
17 |
> I doubt that this is related to the fact that the interface |
18 |
> is called "eth3" instead of "eth0". On my machine, I also |
19 |
> have no "eth0", just a "tg3". |
20 |
> |
21 |
> What do you have in /etc/conf.d/net? |
22 |
When I use eth3,my conf.d/net is: |
23 |
|
24 |
config_eth3=( "192.168.83.123 netmask 255.255.255.0 brd 192.168.83.255" ) |
25 |
config_eth3=( "default gw 192.168.83.254" ) |
26 |
|
27 |
|
28 |
Now every time in gentoo,I use the script to start the eth3: |
29 |
|
30 |
ifconfig eth3 192.168.83.123 broadcast 192.168.83.255 netmask 255.255.255.0 up |
31 |
route add default gw 192.168.83.254 |
32 |
|
33 |
> Alexander Skwar |
34 |
> |
35 |
> -- |
36 |
> gentoo-user@g.o mailing list |
37 |
> |
38 |
> |
39 |
|
40 |
|
41 |
-- |
42 |
wcw |
43 |
-- |
44 |
gentoo-user@g.o mailing list |