Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nach Backup: /proc/net/wireless liefert nichts
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
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Sat Nov 02, 2013 3:08 pm    Post subject: Nach Backup: /proc/net/wireless liefert nichts Reply with quote

Hallo,

ich habe bei meinem Laptop die Festplatte gewechselt (->SSD). Dazu habe ich ein Backup der alten Festplatte gemacht und das Backup auf die neue aufgespielt. Das System startet auch wie gewohnt. Allerdings zeigt mir i3status den Status der WLan Verbindung nicht mehr an.

Ich hab festgestellt, dass /proc/net/wireless, wenn ich es als User öffne, leer ist, d.h. der Eintrag zur Wireless Verbindung fehlt. Öffne ich diese Datei als root, ist dort der entsprechende Eintrag zu finden. Da das System 1:1 übernommen wurde, vermute ich ein Rechte-Problem. Auf meinem Desktop System lässt sich diese Datei nämlich als User öffnen. Allerdings wüsste ich nicht, wonach ich suchen muss. An welcher Stelle könnte ich da ansetzen?

Hat jemand vielleicht eine Idee?

Gruß
Fijoldar

------------------
Ergänzung (habe es im obigen Post vergessen): Mit der Datei an sich dürfte alles stimmen.
Code:
ls -l /proc/net/wireless
-r--r--r-- 1 root root 0  2. Nov 16:47 /proc/net/wireless

Das Problem muss irgendwo anders liegen...
------------------
Die Infos in /proc/net/wireless finde ich auch /proc/net/dev. Diese Datei lässt sich auch problemlos öffnen.

Hier nochmal die Ausgaben
Code:
$ cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
wlp2s0: 6762702    5083    0    0    0  9713          0         0   320028    2506    0    0    0     0       0          0
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
enp3s0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0

Code:
$ cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22

Code:
$ sudo cat /proc/net/wireless
Passwort:
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
wlp2s0: 0000   57.  -53.  -256        0      0      0      0      0        0

Es ist mir ein Rätsel, warum ich als User andere Infos bekomme als wenn ich es mit sudo öffne :?
Back to top
View user's profile Send private message
Terrere
n00b
n00b


Joined: 03 Sep 2006
Posts: 73
Location: Basel (CH)

PostPosted: Sun Nov 03, 2013 10:12 am    Post subject: Reply with quote

Hallo

Also nur zum raten,
ist /proc auf deinen Maschinen unterschiedlich "gemountet"?


Code:

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
Back to top
View user's profile Send private message
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Sun Nov 03, 2013 12:21 pm    Post subject: Reply with quote

Danke für deine Antwort, Terrere.

/proc ist hier meiner Meinung nach richtig gemountet:
Code:
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0

Hätte mich auch stark gewundert, denn ich habe ja an dem System nichts verändert und die fstab ist ja auch gleich geblieben.

Ich konnte aber mittlerweile einen kleinen Teilerfolg erzielen. Ich habe wireless-tools und i3status erst entfernt und anschließend neu kompiliert. Jetzt funktioniert zumindest die Anzeige in der i3bar wieder obwohl /proc/net/wireless immer noch "leer" ist.
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