LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-26-2006, 06:16 AM   #1
hkhiroya
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
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
 
Old 04-26-2006, 06:25 AM   #2
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Rep: Reputation: 15
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

Last edited by jimjamjahaa; 04-26-2006 at 06:27 AM.
 
Old 04-26-2006, 06:27 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 04-26-2006, 06:31 AM   #4
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

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

you have *got* to be joking.
 
Old 04-26-2006, 07:28 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
At 1am I do not have a sense of humour.



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.

Last edited by Simon Bridge; 04-26-2006 at 07:34 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb 2.0 hdd working through usb 2.0 pcmcia card full speed in 2.4, but slow in 2.6 chilly_willy2 Linux - Hardware 11 02-02-2006 06:16 PM
Get usb.c: ignoring set_interface when pluging in a Belkin USB Direct Connect Cable qwerty102 Linux - Networking 0 02-15-2005 08:49 AM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration