LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2008, 08:56 AM   #1
LemensTS
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Rep: Reputation: 0
Lacie Ethernet Big Disk on Gentoo


This Lacie 1TB has ethernet and usb connection.
I am plugging it in via usb, the ethernet is unplugged.

dmseg |grep usb
usb 1-3: new high speed USB device using ehci_hcd and address 4
usb 1-3: configuration #1 chosen from 2 choices
eth1: register 'cdc_ether' at usb-0000:00:1a.7-3, CDC Ethernet Device, 00:d0:4b:06:85:03

lsusb
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 004: ID 059f:0982 LaCie, Ltd
Bus 001 Device 001: ID 0000:0000

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:16:76:AD:12:9B
inet addr: removed ip here
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9126149 errors:0 dropped:0 overruns:0 frame:0
TX packets:9496137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1119889060 (1068.0 Mb) TX bytes:1207956862 (1151.9 Mb)
Base address:0xecc0 Memory:dfde0000-dfe00000

eth1 Link encap:Ethernet HWaddr 000:4B:06:85:03
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:156873 errors:0 dropped:0 overruns:0 frame:0
TX packets:156873 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17131235 (16.3 Mb) TX bytes:17131235 (16.3 Mb)




I see it chose config 1 out of 2 configurations. Im assuming 1 is driver for usb, and 1 is driver for ethernet. I do not know why it is loading the driver for ethernet, it is creating eth1!!! I want it to create sda or whatever....

any ideas? thanks
 
Old 07-18-2008, 06:05 PM   #2
guille4ty
LQ Newbie
 
Registered: Feb 2008
Posts: 25

Rep: Reputation: 15
To mount it just do:

Code:
mkdir /mnt/sda1
mount /dev/sda# /mnt/sda1
Replace the # sign with the number of the usb device plugged in (if this is your only storage device then it would be sda1 if it's your second sda2 etc...) then after that browse to the folder /mnt/sda1. As for the ethernet problem, I'm not quite sure about, I'll see what I can find (or do, without destroying my computer first ).
 
Old 07-18-2008, 08:14 PM   #3
/usr/darien
Member
 
Registered: Mar 2008
Location: Virginia
Distribution: RHEL 4/5, Fedora 6-9, SuSE 10.1-11, Open Solaris 10.8, WinXP,2003,Vista
Posts: 59

Rep: Reputation: 15
First, do a fdisk l. If your Lacie external 1TB disk is formatted with the NTFS file system, you should see an entry similar to the following:

Code:
Device      Boot     Start     End     Blocks     Id     System
/dev/sdc1   *        1         6527    52426752   7      HPFS/NTFS

Create a folder named ntfs (or whatever you want) under the /mnt folder so that you have a path named /mnt/ntfs.

Since I use RHEL 5.x, I have to manually build and load the NTFS-3G driver. In my case using the above information gathered from fdisk, I would type:

Code:
mount t ntfs-3g /dev/sdc1 /mnt/ntfs

For other distributions that have NTFS capability natively built-in, your mount statement may appear as:

Code:
mount t ntfs /dev/sdc1 /mnt/ntfs

if you want this to mount automatically, add the following line (or something similar depending on your distribution) to your /etc/fstab.

Code:
/dev/sdc1   /mnt/ntfs   ntfs-3g   rw,nosuid,nodev,relatime   0 0
Or . . .
Code:
/dev/sdc1   /mnt/ntfs   ntfs-3g   defaults   0 0
 
Old 07-22-2008, 03:37 PM   #4
LemensTS
LQ Newbie
 
Registered: Jul 2008
Posts: 12

Original Poster
Rep: Reputation: 0
I dont think you read my post properly. It is not showing up as /dev/anything

Code:
AVFAST ~ # tail /var/log/messages
Jul 22 15:33:24 VoIP usb 1-3: USB disconnect, address 2
Jul 22 15:33:24 VoIP eth1: unregister 'cdc_ether' usb-0000:00:1a.7-3, CDC Ethern              et Device
Jul 22 15:33:24 VoIP udev-net.sh: /etc/init.d/net.eth1: does not exist or is not               executable
Jul 22 15:33:29 VoIP usb 1-3: new high speed USB device using ehci_hcd and addre              ss 4
Jul 22 15:33:29 VoIP usb 1-3: configuration #1 chosen from 2 choices
Jul 22 15:33:29 VoIP eth1: register 'cdc_ether' at usb-0000:00:1a.7-3, CDC Ether              net Device, 00:d0:4b:06:85:03
Jul 22 15:33:29 VoIP udev-net.sh: /etc/init.d/net.eth1: does not exist or is not               executable
Thats what happens if I unplug/replug it. That is usb too, not ethernet.

Code:
AVFAST ~ # lsusb
Bus 005 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 059f:0982 LaCie, Ltd
Bus 001 Device 001: ID 0000:0000
Code:
AVFAST ~ # fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         125     1004031   82  Linux swap / Solaris
/dev/sda2   *         126        2558    19543072+  83  Linux
/dev/sda3            2559        9726    57576960   83  Linux

Last edited by LemensTS; 07-22-2008 at 03:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
big problem in Gentoo gentoo_user Linux - General 9 02-13-2006 11:56 PM
big problem in Gentoo gentoo_user Linux - General 1 02-12-2006 02:38 AM
Half a LaCie Extreme Disk drlaz Linux - Hardware 3 08-30-2005 04:26 PM
Only able to access half a LaCie Extreme Disk drlaz Linux - Hardware 1 10-25-2004 10:50 PM


All times are GMT -5. The time now is 02:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration