Forum » Operacijski sistemi » eth3 -> eth0?
eth3 -> eth0?
![](https://static.slo-tech.com/stili/avatar_gray.gif)
poweroff ::
Problem je naslednji:
ifconfig
eth3 Link encap:Ethernet HWaddr 00:22:15:97:05:8c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:fbfc0000-fc000000
eth0 sploh ne obstaja. Kako eth3 "preimenovati" v eth0?
Pa še tole se dogaja.
V /etc/network/interfaces
imam tole:
auto eth3
up /etc/network/firewall.sh
če rečem:
sudo /etc/init.d/networking restart
dobim tole:
* Reconfiguring network interfaces... /etc/network/interfaces:16: misplaced option
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:16: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"
[fail]
Očitno ne more zagnat firewalla. Zakaj?
ifconfig
eth3 Link encap:Ethernet HWaddr 00:22:15:97:05:8c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:fbfc0000-fc000000
eth0 sploh ne obstaja. Kako eth3 "preimenovati" v eth0?
Pa še tole se dogaja.
V /etc/network/interfaces
imam tole:
auto eth3
up /etc/network/firewall.sh
če rečem:
sudo /etc/init.d/networking restart
dobim tole:
* Reconfiguring network interfaces... /etc/network/interfaces:16: misplaced option
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:16: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"
[fail]
Očitno ne more zagnat firewalla. Zakaj?
sudo poweroff
![](https://static.slo-tech.com/stili/avatar_gray.gif)
poweroff ::
Če firewall zaženem ročno: sudo sh /etc/network/firewall.sh, pa se zažene brez težav...
sudo poweroff
![](https://static.slo-tech.com/stili/bel_non_grata.png)
luli ::
Naloži Windows, pa maš na voljo rename mrežnega adapterja. ![:)](https://static.slo-tech.com/smeski/icon_smile.gif)
Drugače pa se mi zdi, da sem enkrat delal nekaj podobnega temu
http://www.science.uva.nl/research/air/...
![:)](https://static.slo-tech.com/smeski/icon_smile.gif)
Drugače pa se mi zdi, da sem enkrat delal nekaj podobnega temu
http://www.science.uva.nl/research/air/...
Zgodovina sprememb…
- spremenilo: luli ()
![](https://static.slo-tech.com/stili/avatar_gray.gif)
poweroff ::
Hehe, ne gre. Wintendo ne pozna ethX ![:D](https://static.slo-tech.com/smeski/icon_biggrin.gif)
Bom poiskusil postopek iz linka... bega pa me firewall skripta - na drugi mašini dela b. p.
![:D](https://static.slo-tech.com/smeski/icon_biggrin.gif)
Bom poiskusil postopek iz linka... bega pa me firewall skripta - na drugi mašini dela b. p.
sudo poweroff
![](https://static.slo-tech.com/stili/avatar_gray.gif)
r5r ::
Poglej datoteko /etc/udev/rules.d/z25_persistent-net.rules, če najdeš karkoli ustreznega.
And it makes me wonder.
![](https://static.slo-tech.com/stili/avatar_gray.gif)
kopernik ::
Hm, mogoče ni nič kriva firewall skripta, temveč datoteka /etc/network/interfaces, ki ji manjka ukaz iface. Torej, namesto :
auto eth3
up /etc/network/firewall.sh
naj bo:
auto eth3
iface eth3 inet dhcp
up /etc/network/firewall.sh
Če imaš dhcp, če ne pa npr. static za statičen ip. Več info tukaj
auto eth3
up /etc/network/firewall.sh
naj bo:
auto eth3
iface eth3 inet dhcp
up /etc/network/firewall.sh
Če imaš dhcp, če ne pa npr. static za statičen ip. Več info tukaj
![](https://static.slo-tech.com/stili/avatar.gif)
OmegaBlue ::
najbolj elegantna rešitev bo ifrename paketek, je že v debian repozitoriju, tako da samo apt-get install ifrename.
V /etc/iftab (če ga ni ga naredi readable za vse) in rukni notri.
Vsebina pa nekako tako
eth0 mac [mac tvoje mrežne brez teh oklepajev]
V /etc/iftab (če ga ni ga naredi readable za vse) in rukni notri.
Vsebina pa nekako tako
eth0 mac [mac tvoje mrežne brez teh oklepajev]
Never attribute to malice that which can be adequately explained by stupidity.
![](https://static.slo-tech.com/stili/avatar_gray.gif)
poweroff ::
kopernik, da, tako je bilo. auto eth3 je bil na koncu. Tja ga je pa dodal gospod NetworkManager. ![;(](https://static.slo-tech.com/smeski/icon_evil.gif)
Ko sem ukaz perstavil pred iface, je zadeva začela delat brez problemov.
OmegaBlue - ifrename žal ni v Ubuntu Hardy repozitoryih. Sem že včeraj iskal...
![;(](https://static.slo-tech.com/smeski/icon_evil.gif)
Ko sem ukaz perstavil pred iface, je zadeva začela delat brez problemov.
OmegaBlue - ifrename žal ni v Ubuntu Hardy repozitoryih. Sem že včeraj iskal...
sudo poweroff
Zgodovina sprememb…
- spremenilo: poweroff ()
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | XBMC + IPTV + 2 mrežni karticiOddelek: Programska oprema | 5116 (3860) | markostano |
» | Ubuntu in povezava v internetOddelek: Operacijski sistemi | 1495 (1208) | Blinder |
» | Ubuntu problem z mrežno 3com 3c509Oddelek: Operacijski sistemi | 2323 (2073) | krofko |
» | Linux CC kot router... problemOddelek: Operacijski sistemi | 1755 (1507) | kitarist |
» | "apt-get install xy" težave (Debian)Oddelek: Operacijski sistemi | 1432 (1333) | B-D_ |