Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  zugriff usbsticks  (Read 3044 times)

Offline michaa7

  • User
  • Posts: 2.295
zugriff usbsticks
« on: 2015/07/01, 16:26:29 »
gibt es irgendein werkzeug (am liebsten ncurses) welches usbsticks verlässlich mountet?

Auf meinem notebook (systemd) will nun das wlan nichtmehr (systemd v220). Ich kann des NB nichmal anpingen. Network down, CENI kann das ja nichtmehr, connman ist nicht installiert. Nu stehe ich wiedermal mit meinen drei usbstick da, weiß nichtmehr was auf welc hem ist, und werde durch einstecken der stciks nic ht schlauer. Bei einem der sticks sehe ich nur dass er 10GB groß sei, aber ich nicht zum zugriff authorisiert bin, Die beiden anderen funktionierenden sticks werden nichtmal gelistet. auf diese weise wird es wohl recht schwierig connman per stick auf das NB zu bekommen.

Bitte, wie bekomme ich zugriff auf meine sticks (fluxbox hier). Gibt es kein script was im HG die arbeit erledigt und mir anzeigt was ich wissen muß um überhaupt meine sticks verlässlich zu identifizieren? Es gibt momente da da könnte ich vor wut kotzen. 
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline bluelupo

  • User
  • Posts: 2.068
    • BluelupoMe
Re: zugriff usbsticks
« Reply #1 on: 2015/07/01, 16:33:11 »
Hi michaa7,

ich verstehe nicht ganz warum du ein Tool zum mounten brauchst. Mounte doch auf der Kommandozeile per Hand. Du kannst auch bei nicht funktionierenden WLAN dein NB hochfahren und als root den USB-Stick mounten.

Die USB-Stick kommen in der Reihenfolge nach den Disks, also zB

sda --> erste Festplatte
sdb --> zweite Festplatte
sdc --> erster angesteckter USB-Stick

....mit fdisk musst du die Devices sehen.

Offline michaa7

  • User
  • Posts: 2.295
Re: zugriff usbsticks
« Reply #2 on: 2015/07/01, 16:54:40 »
Hi michaa7,

ich verstehe nicht ganz warum du ein Tool zum mounten brauchst.

Weil das doch alles blindflug ist. Mounte irgendein device mit irgendeiner nichtssagenden bezeichnung unter irgendein wie auch immer bezechnetes, explizit anzulegendes verzeichnis worauf du vielleicht zugriff hast und finde nach dem zufallsprinzip bitte schön heraus welches deiner devices nun sdc, sdd, und sde ist (neben den beiden hd_s, sda und sdb) mit inhalten die dir veilleicht angezeit werden, oder eben nicht. Im letzten fall ging entweder docvh noch etwas schief oder der user versuchte eine stick zu mounten, der ein siduction ISO enthält. Letzteres wäre zwar des users fehler, aber dennoch ist es sehr unschön damit nur angeschwiegen zu werden. Ja mounten geht natürlich manuell, aber es ist gefühlt anno 1312 mit bußgewand und geislern aber bestimmt nichts was mir bestätigen würde es mit zeitgemäßer technik zu tun zu haben. Es ist technik die mich beschäftigt, nicht technik die mir nutzt. Über automatisches einbinden in die verschiedenen filemanager (zu denen die empfehlungen so schnell wechseln wie die konfigurationen zum einbinden von usb-sticks) reden wir schon lieber gar nciht mehr. Wir sind avantgard.


Quote
Mounte doch auf der Kommandozeile per Hand. Du kannst auch bei nicht funktionierenden WLAN dein NB hochfahren und als root den USB-Stick mounten.

Die USB-Stick kommen in der Reihenfolge nach den Disks, also zB

sda --> erste Festplatte
sdb --> zweite Festplatte
sdc --> erster angesteckter USB-Stick

....mit fdisk musst du die Devices sehen.

Wie das geht weiß ich schon noch, es fällt mir vor lauter kopf schütteln jedoch recht schwer ...
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline bluelupo

  • User
  • Posts: 2.068
    • BluelupoMe
Re: zugriff usbsticks
« Reply #3 on: 2015/07/01, 17:47:03 »
Hi michaa7,
sorry, das Gejammere wird dir nicht viel bei der Fehlersuche helfen.

Erst mal würde mir den aktuellsten systemd installieren (via LAN) und der ist bei mir 221-1 und danach testen. Gibt's Fehlermeldungen im Journal? Welche Netzwerkdienst nutzt du? NetworkManager, connman,  ifupdown oder systemd-networkd.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: zugriff usbsticks
« Reply #4 on: 2015/07/01, 18:04:10 »
@michaa7, does this help, to visualize the devices and their filesystems?


Code: [Select]
blkid -c /dev/null -o list

« Last Edit: 2015/07/01, 18:32:26 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.295
Re: zugriff usbsticks
« Reply #5 on: 2015/07/01, 18:36:01 »
Thanks, dibl.

I knew this command. What makes this USB-sick situation so frustrating to me ist that you may expect all kinds of misfunctions all the time. You have a storing device and can't relay on an easyness of use.

Quite now all filemanagers (thunar, fm, dolphin) still show a 10GB datastick (you are not authorized bla bla...) which since half an hour isn't mounted anymore. I am sure it will go away with the next reboot, closing and reopening does not change the situation. But that's the kind of misfunction I ***expect*** with USB-sticks. I don't expect "it-just-works" anymore, because, I use sticks seldomly (guess why?) for exact the POS experience I have every time.

Now here on my desktop all my sticks are sdc (as long as I use only one at a time) . Then I want to use it to copy something on my notebook. "mount /dev/sdc /media/sdc/"  won't work, because here it is and has to /dev/sdb, stupid me? Stupid POS linux which does not provide a means to reliably mount and use a stick by label.

And yes stupid me. I somehow had an ISO on all of my three sticks. File mangers don't reveal this secert, you have to mount them one by one to see what's  stored on the stick. Ok, I had to reformat one of the sticks, guess what, gparted currently is broken. Ok, I use cfdisk, it works. I copy connman to my NB, but now have no clue how to configure my wlan with it.

Thanks.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: zugriff usbsticks
« Reply #6 on: 2015/07/01, 18:49:22 »
I copy connman to my NB, but now have no clue how to configure my wlan with it.



If you don't hate gtk too much, wicd-gtk still works good, even on a KDE system.  There is a wicd-kde, but I could never understand how to use it.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.295
Re: zugriff usbsticks
« Reply #7 on: 2015/07/01, 19:06:40 »
I copy connman to my NB, but now have no clue how to configure my wlan with it.



If you don't hate gtk too much,

Not at all.

Quote
wicd-gtk still works good, even on a KDE system.

I don't use KDE, I don't use a DE. I use fluxbox, IDGAS-DE ;-)

Quote
There is a wicd-kde, but I could never understand how to use it.
One more reason not to use KDE ;-)

Thanks. Ah ... It's not a CD daemon which mounts all removable devices like usb-sticks, too, but a wireless network connection manager. So maybe it resolves an other of my issues.  8)


Now, believe it or not:

I now have this 10GB datasick in all installed FMs although no stick is physicaly attatched (I rebooted four times, still...). If I attace the one I used today to successfully copy connman from my desktop to my laptop, I can't access it anymore (the connmanfils is user:user, but is inaccessible and undeletable). There is now no way to copy wicd from my desktop to the laptop, I can't update the laptop, I can't delete the stick.
« Last Edit: 2015/07/01, 19:57:01 by michaa7 »
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: zugriff usbsticks
« Reply #8 on: 2015/07/01, 21:46:18 »
michaa7, hast Du diese Pakete? :
Code: [Select]
ii  udisks       1.0.5-1+b1   amd64    storage media interface
ii  udisks2      2.1.5-3      amd64   D-Bus service to access and manipulate storage devices
ii  usbmount     0.0.22       all     automatically mount and unmount USB mass storage devices
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline michaa7

  • User
  • Posts: 2.295
Re: zugriff usbsticks
« Reply #9 on: 2015/07/01, 22:11:14 »
@ der_bud

nein, ja und ja.  udisks habe ich nun nachinstalliert.


ein problem scheint jedoch zu sein, dass ein älterer stick angezeigt wird, in thunar, fm und dolphin, obwohl nichts eingesteckt ist. Er steht auch nicht in der tstab. Allerdings ist dies nun hiermit ein crossposting.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline michaa7

  • User
  • Posts: 2.295
Re: zugriff usbsticks
« Reply #10 on: 2015/07/01, 22:16:21 »
@ dibl

You saved my day. And a lot of my not existing nerves. Now, after half a day fumbling around with broken sid my wifi on my NB ist working again. Thanks! wicd is a fine application. I expect not missing one of the other packages mentioned in other threads like connman, NM or the like.

wicd just works fine.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake