Den mou to shkwnetai...(to interface...)

Giannis Stoilis giannis at stoilis.gr
Wed Oct 22 21:26:47 EEST 2003


(Sorry pou sas stelnw ena asxeto email pou den apaitei apanthsh, alla kapou 
prepei na pw kai egw o amoiros ton pono mou...)

Mou zhth8hke apo enan pelath na tou egkatasthsw ena paketo network accounting 
ston Suse linux proxy server tou, enan compaq server me duo kartes diktuou, 
mia gia to eswteriko diktuo, mia gia ton router.
Bash auton pou mou zhthse, epeleksa to bandwidthd, ena mikro kai omorfo daemon 
pou mpainei se promiscious mode kai ftiaxnei kai html statistika me 
grafhmata.
To sthnw se elaxisto xrono, epibebaiwnw oti douleuoun ola, kai polu xarhka.
Ftiaxnw ena script ths prokophs gia starting kai stopping, to petaw sto 
/etc/rc.d, kai, mesw yast, to energopoiw na ksekinaei sto runlevel 3.

Kanw mia epanekkinhsh, kai ti na dw? h mia karta diktuou den shkw8hke. (eth0 
internet, eth1 eswteriko diktuo). H eth1 den shkonotan me tipota.
Me lspci thn eblepa mia xara. Apo kernel messages, eida oti mia xara fortw8hke 
o driver(den htan da kai kammia mapa, 3com htan). Parolauta, h karta giok...

Paideuomai gia polu wra, kai den bgazw akrh. Ti proseuxes, ti parakalia, ti 
tamata, ti klwtsies, ti klamata, to idio bioli. h eth0 paizei kanonika, h 
eth1 oxi.

Kshlwnw thn eth1, kai bazw mia kainouria, 3com kai pali, allo montelo omws. 
Pragmati, o driver paizei mia xara, to interface omws pali den shkwnetai... 
To error message to idio, Interface not found...

(prin mou epite8ei o Soldatos, tonizw: oute me ifconfig sketo den shkwnotan, 
oxi apla me to /etc/rc.d/network script ths suse)

Bazw kai thn karta duktuou epanw pou ebgala prin(wste na exw pleon 3 kartes 
diktuou) kai dokimazw pali. eth0 OK, eth1 OK, eth2 failed.

kleinw to mhxanhma, kanw trampa tis duo kartes, kai pali to idio: eth0 OK, 
eth1 OK, eth2 failed.

(Dhladh PANTA 8a ekane fail h pio teleutaia karta, asxetws poia htan auth)

Ksanakleinw to mhxanhma, kai kshlwnw thn eth1, afhnontas omws tis ru8miseis 
ths.
eth0 OK, eth1 failed, eth2 failed.

kai pws mou erxetai(nai, arga, kserw), kshlwnw to bandwidthd apo thn ekkinhsh. 
OLA KALA... Psaxnw perissotero, kai ti na dw? Otan ekana thn eksupnada na 
orisw to startup script tou bandwidthd mesw yast na ksekina sto runlevel 3, 
to #@$#$%$#$ yast, tou edwse start number MIKROTERO apo to script tou 
diktuou.... Apotelesma? to bandwidthd prospa8ouse na balei se promiscious 
mode ena interface pou akoma kai eixe shkw8ei, me apotelesma otan pas na 
shkwseis to interface metepeita, o kernel na arneite peismatika na upakousei, 
xwris apolutws kanena error pou8ena. Apla interface not found...

Tou edwsa upsilo start number, wste na shkwnetai meta to diktuo, kai ola 
paizoun pleon kala...

Ax...

- Giannis Stoilis
Ponemenos Administrator pou 8a eprepe na ginei gewrgos...





More information about the Linux-greek-users mailing list