Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netzwerk in phpSYSInfo und GKrellm verschwunden
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Apr 11, 2006 4:00 pm    Post subject: Netzwerk in phpSYSInfo und GKrellm verschwunden Reply with quote

Hallo...

Bei phpsysinfo und gkrellm bekomme ich keine Information mehr über meine 2 Netzwerkkarten (eth0 und eth1).
Bei phpsysinfo erscheint gar nichts mehr. Kein LO und auch keine der beiden ETH-Karten!
Bei Gkrellm sehe ich zwar eth0 und eth1, aber keinen Graphen...
Habe ihr für mich einen Lösungsaansatz parat? Ich komme einfach nicht mehr weiter!

Gruss Sewulba :roll:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
svenk
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 97
Location: Germany

PostPosted: Tue Apr 11, 2006 6:54 pm    Post subject: Reply with quote

Hallo sewulba,

naja, du nennst gerade mal zwei Programme, wie siehts denn woanders aus? Sprich: Was sagt ifconfig, was sagt proc, was sagt dmesg oder nicht zuletzt: Funktioniert dein Netzwerk noch oder nicht?

Grüße,

Sven
_________________
people said there would be nothing else other than gentoo. I agreed, looking through my window. For many years, I've seen nothing. After smashing the window, my brain got free. Yeah, nowadays I live windowless.
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Apr 12, 2006 3:39 am    Post subject: Reply with quote

svenk wrote:
Hallo sewulba,

naja, du nennst gerade mal zwei Programme, wie siehts denn woanders aus? Sprich: Was sagt ifconfig, was sagt proc, was sagt dmesg oder nicht zuletzt: Funktioniert dein Netzwerk noch oder nicht?

Grüße,

Sven


Mein Netzwerk geht einwandfrei soweit!!! Es wird mir halt nur in den 2 zuvor gesagten Programmen nichts mehr angezeigt... :wink:

Hier die Ausgabe von ifconfig:
Code:
eth0      Protokoll:Ethernet  Hardware Adresse 10:13:2F:40:61:61
          inet Adresse:192.168.1.1  Bcast:192.168.1.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:564558 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2219766 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:191385723 (182.5 Mb)  TX bytes:3211014987 (3062.2 Mb)
          Basisadresse:0xa000 Speicher:f7020000-f7040000

eth1      Protokoll:Ethernet  Hardware Adresse 01:49:F4:1E:65:66
          inet Adresse:72.116.42.60  Bcast:72.116.42.255  Maske:255.255.252.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2812663 errors:4 dropped:38 overruns:1 frame:0
          TX packets:1237546 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:3583572851 (3417.5 Mb)  TX bytes:87076062 (83.0 Mb)
          Interrupt:21 Basisadresse:0xc800

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11638 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11638 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:2215132 (2.1 Mb)  TX bytes:2215132 (2.1 Mb)


/proc/net sieht soweit auch gut aus!!!
Bei dmesg ist mir nur folgendes Aufgefallen:
Code:
eth1: Promiscuous mode enabled.


Denke abe, dass das schon in Ordung ist, oder nicht???

Sewulba
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Wed Apr 12, 2006 9:30 pm    Post subject: Reply with quote

http://de.wikipedia.org/wiki/Promiscuous_Mode

Hat definitiv nichts damit zu tun, daß es nicht mehr in gkrellm angezeigt wird. Was passiert, wenn du gkrellm als root startest? Sind dann die Devices wieder da? Könnte evtl. ein Rechteproblem sein.
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu Apr 13, 2006 6:11 pm    Post subject: Reply with quote

musv wrote:
http://de.wikipedia.org/wiki/Promiscuous_Mode

Hat definitiv nichts damit zu tun, daß es nicht mehr in gkrellm angezeigt wird. Was passiert, wenn du gkrellm als root startest? Sind dann die Devices wieder da? Könnte evtl. ein Rechteproblem sein.


Das ist eine gute Idee!!! Werde es heute noch, wenn möglich, ausprobieren... Danke!!!

Sew 8O
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu Apr 13, 2006 8:40 pm    Post subject: Reply with quote

sewulba wrote:
musv wrote:
http://de.wikipedia.org/wiki/Promiscuous_Mode

Hat definitiv nichts damit zu tun, daß es nicht mehr in gkrellm angezeigt wird. Was passiert, wenn du gkrellm als root startest? Sind dann die Devices wieder da? Könnte evtl. ein Rechteproblem sein.


Das ist eine gute Idee!!! Werde es heute noch, wenn möglich, ausprobieren... Danke!!!

Sew 8O


Okay... Jetzt sind wir ein kleines Stück weiter! Wenn ich GKrellm2 mit root-Rechten starte, dann geht wieder alles super! Ich frage mich jetz aber, welche Datei/Programm hat denn jetzt die falschen Rechte? :oops:

Sew
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Thu Apr 13, 2006 9:26 pm    Post subject: Reply with quote

Probiers aus ;)

starte als user /sbin/ifconfig das sollte gehten - falls nicht kannst du schon mal dort weitersuchen.
(korrekte Rechte sind -rwxr-xr-x 1 root root 58K 21. Mär 03:46 /sbin/ifconfig)

Genauso
cat /proc/net/dev

vielleicht wird ja /proc falsch gemounted? (fstab: none /proc proc defaults 0 0)

Ansonsten schau mal ob du evtl. mit lsof (emerge lsof) einen snapschot hinbekommst

(/sbin/ifconfig &)| /usr/sbin/lsof -c ifconfig

hab damit rausgefunden das ifconfig /proc/net/dev liest. Viel Glück!

[Edit]
ifconfig brauch außerdem /usr/share/locale/de/LC_MESSAGES/net-tools.mo
nur am Rande, der rest ist normaler internationalisierungs müll.
_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu Apr 13, 2006 9:51 pm    Post subject: Reply with quote

treffer wrote:
Probiers aus ;)

starte als user /sbin/ifconfig das sollte gehten - falls nicht kannst du schon mal dort weitersuchen.
(korrekte Rechte sind -rwxr-xr-x 1 root root 58K 21. Mär 03:46 /sbin/ifconfig)

Genauso
cat /proc/net/dev

vielleicht wird ja /proc falsch gemounted? (fstab: none /proc proc defaults 0 0)

Ansonsten schau mal ob du evtl. mit lsof (emerge lsof) einen snapschot hinbekommst

(/sbin/ifconfig &)| /usr/sbin/lsof -c ifconfig

hab damit rausgefunden das ifconfig /proc/net/dev liest. Viel Glück!

[Edit]
ifconfig brauch außerdem /usr/share/locale/de/LC_MESSAGES/net-tools.mo
nur am Rande, der rest ist normaler internationalisierungs müll.


Okay... Es liegt definitiv am /PROC-Verzeichnis
Die FSTAB habe ich genauso angelegt, wie du es oben beschrieben hast. :oops:

Allerdings gibt /proc/net folgendes bei mir aus!!!
Code:
dr-xr-x---   5 root       1001     0 13. Apr 23:44 net

Da fehlt bei OTHERS das X-Flag... Setze ich per chmod das X-FLAG geht wieder alles wunderbar (chmod -R o+x /proc/net)
Was ist da nur faul???

Sew :?
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Thu Apr 13, 2006 10:24 pm    Post subject: Reply with quote

Ok,

da is was gannz gehörig faul...
1) mach mal mount als root, das kann nicht dein das dein /proc der nicht existenten gruppe 1001 gehört, da glaub ich nich so recht dran mit ner normalen fstab...
2) Was für nen kernel setzt du ein, evtl. ist da der wurm drin, wann war das letzte kernel update?
3) Schau bitte mal das etc-update/dispatch-conf durch ist, mach nochmal ein emerge sync und schau nach emerge -pvuD system

Ansonsten weiß ich auch nich weiter.... kann eigentlich nur an den mountoptionen liegen, aber wenn die fstab passt... Höchstens noch die initrd falls du die verwendest (meistens brauch mann sie nicht, also probier evtl. mal was passiert wenn du ohne schicken bootsplash &co. bootest)

Teste auch mal "mount -o remount -t proc none /proc" das sollte das problem eigentlich fixen - falls nicht haste n kernel bug oder schlimmer....

Leg mich jetzt aber schlafen.... Viel Glück!
_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Fri Apr 14, 2006 4:36 am    Post subject: Reply with quote

treffer wrote:
Ok,

da is was gannz gehörig faul...
1) mach mal mount als root, das kann nicht dein das dein /proc der nicht existenten gruppe 1001 gehört, da glaub ich nich so recht dran mit ner normalen fstab...
2) Was für nen kernel setzt du ein, evtl. ist da der wurm drin, wann war das letzte kernel update?
3) Schau bitte mal das etc-update/dispatch-conf durch ist, mach nochmal ein emerge sync und schau nach emerge -pvuD system

Ansonsten weiß ich auch nich weiter.... kann eigentlich nur an den mountoptionen liegen, aber wenn die fstab passt... Höchstens noch die initrd falls du die verwendest (meistens brauch mann sie nicht, also probier evtl. mal was passiert wenn du ohne schicken bootsplash &co. bootest)

Teste auch mal "mount -o remount -t proc none /proc" das sollte das problem eigentlich fixen - falls nicht haste n kernel bug oder schlimmer....

Leg mich jetzt aber schlafen.... Viel Glück!


Zu 1)
Auf meinem PowerMac gehört es auch der Gruppe 1001. Und da funktioniert es!
Zu 2)
Ich benutze den Kernel-2.6.14-hardened-r5
Zu 3)
Das hat leider auch nichts gebracht :cry:

Hier meine FSTAB
Code:
/dev/sda1               /boot           ext3            noatime                1  1
/dev/sda7               /               reiserfs        noatime                0  0
/dev/sda5               none            swap            sw                     0  0
/dev/sda6               /home           xfs             noatime 0 0
/dev/cdroms/cdrom0      /media/cdrom    iso9660         noauto,ro              0  0
/dev/cdroms/cdrom1      /media/dvd      iso9660         noauto,ro 0 0

/dev/sdb5               /SCSI1          ext3            noatime 0 0
/dev/sdb6               /SCSI2          reiserfs        noatime 0 0
/dev/sdb7               /SCSI3          reiserfs        noatime 0 0

/dev/sdc5               /WideSCSI       xfs             noatime 0 0
/dev/fd0                /media/floppy   auto            noauto                 0  0

/dev/hda1               /IDE1           reiserfs        noatime 0 0

/dev/sdd1               /media/usb      reiserfs        noauto 0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults               0  0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults               0  0


"mount -o remount -t proc none /proc" hat auch leider nichts gebracht. Was heisst eigentlich "oder schlimmer". ROOT-Kit ist keiner drauf. Getestet!!!

Wenn ich heute wieder dran bin, werde ich mal wieder mit meinem alten Kernel 2.6.12 das System starten!!!

Sew :?


OOOOPS: Mit dem alten Kernel geht es! Der Alte Kernel ist ein 2.6.12-gentoo-r6. Ich glaube ich habe mich im Bereich GRSec verkonfiguriert.

ICH DANKE EUCH RECHT HERZLICH FÜR EURE HILFE :P

Ich denke ich bekomm' es ab jetzt hin! Oops wie peinlich! :wink:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Fri Apr 14, 2006 7:55 am    Post subject: Reply with quote

Quote:
"mount -o remount -t proc none /proc" hat auch leider nichts gebracht. Was heisst eigentlich "oder schlimmer". ROOT-Kit ist keiner drauf. Getestet!!!


genau das war gemeint, aber sicherheitsrichtlienen - klar, ifconfig plappert ja sonst an alle user deine MAC (und ip) Addresse (cat /proc/net/arp) aus! Macht sogar sehrviel Sinn das zu sperren solang man kein desktop system hat....

Viel Glück noch....

PS: Muss dir nicht peinlich sein - da hab ich schon übleres gebracht, wär nur gut gewesen wenns direkt nach m kernelupdate aufgefallen wäre - bei mir geht mit m neusten kernel cpufreq und co nich mehr.... Werd evtl. nach m 21. wieder einen Versuch mit dem allerneusten kernel starten.
_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Fri Apr 14, 2006 5:23 pm    Post subject: Reply with quote

Habe es geschafft... Jetzt geht alles wieder, so wie ich das wollte! Allerdings werde ich jetzt nachdem ich brihigt bin wieder alles sperren! Das ist halt meine Paranoia! :lol:

Nochmals vielen Dank an Euch alle für Eure Hilfe! :P


Sewulba
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum