Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: [HELP NEEDED] DSL Beginner & Linux noob< Next Oldest | Next Newest >
pt-1 Offline





Group: Members
Posts: 4
Joined: Oct. 2005
Posted: Aug. 26 2008,20:32 QUOTE

Dear all,

I suesfully installed DSL 4.4 on an embedded system with ~ 288MB Memory and a 2.5" 10GB HDD.

I succesfully managed to install VNC and also SSH via command line but I now struggle to connect my 320GB external Seagate USB HDD.

I am a absolute Linux beginner and used the search function and google but I cannot fix my issue.

Basically I found in the /Var/Log/Message that the drive is somehow detected but not mounted:
Code Sample
Aug 26 20:56:50 box user.notice usb.agent[9687]: missing kernel or user mode dri                    ver usb-storage


lsusb -v gets me:
Code Sample
Bus 001 Device 005: ID 0bc2:0503 Seagate RSS LLC
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 Interface
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0        64
 idVendor           0x0bc2 Seagate RSS LLC
 idProduct          0x0503
 bcdDevice            3.00
 iManufacturer          54 Jabil Circuit
 iProduct               69 Seagate External Drive
 iSerial                95  SW064609092
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           32
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xc0
     Self Powered
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           2
     bInterfaceClass         8 Mass Storage
     bInterfaceSubClass      6 SCSI
     bInterfaceProtocol     80 Bulk (Zip)
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x02  EP 2 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               none
       wMaxPacketSize         64
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x86  EP 6 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               none
       wMaxPacketSize         64
       bInterval               0
 Language IDs: (length=4)
    0409 English(US)


I would just like it to be mapped to /mnt/usb1 on a permanent basis.

I also have 2 Linkstations and I can use the MyDslBrowser and download and install local the samba.dsl packet but it seems to be kept in /tmp/mydsl and needs to be re-added after every reboot.

The path in mount -l is:
Code Sample
//LINKSTATION2/movies on /home/dsl/mnt/LINKSTATION2/movies type smbfs (0)


How could I do this permanent without using the Samba tool ?

THX

PT-1
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: Aug. 27 2008,02:47 QUOTE

Re: The USB Drive.
The drive won't automount. You need to mount it. From the terminal/ssh, you can do:
Code Sample

mkdir /mnt/usb1
mount /dev/sda1 /mnt/usb1


Assuming it has only one partition, and you haven't created the usb1 folder yet.

What does "dmesg" say after you plug the drive in?
Back to top
Profile PM 
pt-1 Offline





Group: Members
Posts: 4
Joined: Oct. 2005
Posted: Aug. 27 2008,06:50 QUOTE

EDIT !! Just found via scanning the log that the USB Drive has been assigned sdb1 so therfore I modified the line into:

Code Sample
mount /dev/sdb1 /mnt/usb1


and mount -l shows:

Code Sample
/dev/sdb1 on /mnt/usb1 type vfat (rw) [DSK2_VOL1]


THX ;-)

How do I now make this permanent and how can I permanently add the 2x Linkstations I have and also share the USB Drive within my Windows Workgroup ?

PT-1

EDIT:

Just as a help for others who have a simular issue.
dmesg produced the following (part log)
Code Sample
hub.c: new USB device 00:01.2-2, assigned address 4
scsi2 : SCSI emulation for USB Mass Storage devices
 Vendor: Seagate   Model: External Drive    Rev:
 Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
sdb: sdb1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4


The hint was here:
Code Sample
sdb: sdb1
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: Aug. 27 2008,08:31 QUOTE

First, how did you install it to the system? Harddrive/Debian install? Frugal? CD drive? Persistant home or opt?

Now:
sdb1, so scsi device (USB is emulated through scsi) B (Second scsi/usb device found), partition 1. This might change sometimes, depending on what drives you have connected, and random chance of which order the computer scanned them during the hardware recognition part of booting.

The quickest way to add the local usb drive is by adding a new entry into the /etc/fstab file for the drive similar to:
/dev/sdb1 on /mnt/usb1 type vfat (rw)

or to the current auto-configure entries that are already in that file. Now add this file to the backup filelist. Then you need to add the nofstab cheatcode to your boot loader/method. Finally, add
"mkdir -p /mnt/usb1; mount /mnt/usb1"
to one of the startup scripts,
"/opt/bootlocal.sh"
which will only try mounting the drive once, after booting, and not every time X is started. See http://www.damnsmalllinux.org/wiki/index.php/Bootlocal.sh

As for the Linkstations, I assume they are network harddrives? If so, and can only be accessed by Samba, you would need the samba extension every time (As Far As I Know, since I have not used it at all), so you would need to save the samba.dsl extension somewhere where it can be loaded locally. Since you have a harddrive, on there works. After downloading it, just
"cp /tmp/mydsl/samba.dsl /mnt/hda1/"

Then just add
"mydsl=hda1" (Or whatever your harddrive is) and the samba.dsl should be loaded. Add the linkstation entries to fstab accordingly, and mount commands to /opt/bootlocal.sh like you did for the local usb one.

For sharing, I have no idea.

PS, you mentioned embedded pc? What type/model/make?
Back to top
Profile PM 
pt-1 Offline





Group: Members
Posts: 4
Joined: Oct. 2005
Posted: Aug. 27 2008,08:39 QUOTE

Hello Chaostic,

I booted the embedded machine from a Memorystick and then installed DSL via the built in functionality to my 2.5" HDD I installed.

I had to fdisk it first and partition with a swap and the main Partition.

The System I found in our scrap box at work is a Neoware CA5 and some Info can be found here:

http://www.jonshouse.co.uk/neoware_ca5disk.cgi  (not my site !) and I used a 256 Dimm from an Old Dell Laptop.

I use grub as a boot menu and will need to tweak the screen resolution a bit as I connected it to my Plasma TV via VGA and the screen does not come on.

The Buffallo Linkstations are Network Drives running Linux but sharing the internal Drive via Samba to Windows PC's and run a Print server too.

The Drives itself are formatted ext so I might have a play to mount to them without Samba.

The last hurdle I would like to manage is installing my Epson Photo R300 Printer on DSL to share it with my Windows machines.

Any help or hints would be wonderfull

PT-1
Back to top
Profile PM 
7 replies since Aug. 26 2008,20:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: [HELP NEEDED] DSL Beginner & Linux noob

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code