LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Usb (https://www.linuxquestions.org/questions/debian-26/usb-438959/)

hkhiroya 04-26-2006 06:16 AM

Usb
 
hi,

how do i use my usb stick on debian 3.1r1? please help on what i have to do so that i can access my usb stick. Also would be the same procedure if i wanted to load a bluetooth dongle?

thanks in advance for any help

regards
harshil

jimjamjahaa 04-26-2006 06:25 AM

well, this is not exactly a convenient way of doing it but its the simplest without setting up hotplug deamons etc.

edit your /etc/fstab file

add the line

/dev/sda1 /mnt/usbflash vfat users,uid=000,gid=0000 0 0

jes like that

then in a console type

mkdir /mnt/usbflash
mount /dev/sda1


and then you will have ur usb available at /mnt/usbflash

bluetooth will be an entirely different job. which i cant help with :)

Simon Bridge 04-26-2006 06:27 AM

Need to know debian release and kernel version. Some information about the usb stick and bluetooth dongle is needed too.

Generally you want a recent 2.6 kernel with USB and bluetooth support compiled into it with autofs and udev. In which case, you plug your device in and, unless it is very weird or broken, it will just work.
Have you tried this?

What have you tried so far?
What were the results?

More specifically...
1. read the forum rules and the tutorial about posting good questions
(not only did you post an unhelpful title, but the first line was also unhelpful - though freindly)
2. read the advice link in my sig
3. google is your freind
(there are many many usb and bluetooth tutorials)
4. search LQ
(these questions have been asked many times before)

Basically it would help folk answer your question if you were specific: what is it about your system that is giving you trouble. Otherwise we have to guess at most probable isues.

jimjamjahaa 04-26-2006 06:31 AM

Quote:

(not only did you post an unhelpful title, but the first line was also unhelpful - though freindly)

you have *got* to be joking.

Simon Bridge 04-26-2006 07:28 AM

At 1am I do not have a sense of humour.

:D

You will note that when you hover the mouse over the title in the search results page, it will pop up the first line of the body of the post. Some people can see the first 250 characters or something ... but lots of us only see up to the first <newline> character.

So - the title said: "usb" hmmm? Unhelpful, lets mouse-over and see what is posted... "hi," great!

"/dev/sda1" huh? Well, if it is the only usb device to be inserted, then sure - that's where it will be. However, it dosn't have to be. I prefer to wait for information first.

I remember this line in fstab breaking with a kernel upgrade ... investigation turn out the stick had changed, for no good reason, to /dev/sde1. I've seen usb sticks end up in /dev/sdb4. This is why I like the hotplugging in FC4 ... everything gets consistently handled.


All times are GMT -5. The time now is 11:46 PM.