LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-13-2006, 06:37 PM   #1
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
Post how to install a usb hard drive in slackware 10.1...?


hi, i have slackware 10.1 installed on my dell poweredge 4400 (wich has 2 usb ports in the backplane)
how can I accces to a usb hard drive connected to one of these ports?

Thanks in advace.
 
Old 02-13-2006, 06:45 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
when you plug the drive in check your /var/log/messages file.
it should tell you it found the device, it will have a scsi syntax like /dev/sda
if there isn't partitions setup yet then you will have to create them.

if you don't see anything show up in your messages file then the USB hub may not have been detected, post the output of: lsusb
 
Old 02-13-2006, 07:06 PM   #3
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
hi, i checked my /var/log/messages and /var/log/messages.1 and i fount thousands of failed access and failed passwords failed access from those ips:
all of them are trying to access to my server from sshd and ssh2:

61.78.59.216
64.142.85.128
200.212.140.165
211.41.5.30
24.228.81.6
161.111.231.250

there are ips from korea, washington dc, and brazil
what should i do in order to protect my system?

Thanks

Last edited by sugar2; 02-13-2006 at 07:09 PM.
 
Old 02-13-2006, 07:28 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
as long as nothing in there says they actually logged in you are fine.
welcome to the internet that is why you have linux, so it won't get hacked.
I have blocked a few subnets from china and taiwan on my firewall, since then it has cut the attempts in half. the other thing you can do is change your ssh server from port 22 to another like 220022 or something.

now back to the hard drive, if you plug that in the immediately check the end of the messages file and post what you get related to the drive.
 
Old 02-14-2006, 11:44 AM   #5
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
thanks.
1.- how can i block ips from china and taiwan / wich sofware to use?
2.- I connected the turned on usb hard disk to each of the two ports and there is nothing else failed passwords in my log file... what should i do in order to connect that usb device?
3.- Once im able to connect usb devices, i would connect a upc backup.... is there a daemon who can hable that connection with the upc?

Thanks

Last edited by sugar2; 02-14-2006 at 12:13 PM.
 
Old 02-14-2006, 01:06 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
1. do you have a firewall? If so you block them at the firewall, if not then you need to enable the linux firewall and use iptables to block subnets.

2. we need to know what usb hub you have and get a module loaded to use it. what is the output of lsusb -v

3. there are upc doemons that run, it will matter on which device you have and if it is supported.
 
Old 02-14-2006, 01:12 PM   #7
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
1.- I only have my cisco as router/firewall
2.- I just runned the follow commands:
# chmod 775 /etc/rc.d/rc.hotplug
# /etc/rc.d/rc.hotplug start
# /etc/rc.d/rc.hotplug status

Now i think I have enabled my usb hard disk... now i will try to mount it as a vfat.

3.- I will research about the upc daemons in google..

Thanks!!!
 
Old 02-15-2006, 01:43 PM   #8
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
just one more question...
it works when i attach a usb hard drive (USB MASS STORAGE)... but when i attach a usb flash... or memory stick (USB Device)... the log message only says: New USB attached... or NEW USB REMOVED... and show no /dev address, only a rare hexadecimal address... like: "new USB device 00:0f.2-1, assigned address 6"

how can I map those kind of devices that are not logged when hot plug?

thanks

Last edited by sugar2; 02-15-2006 at 01:46 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
RHEL4 Does Not See USB Hard Drive During Install BeauSanders Linux - Enterprise 6 08-17-2005 03:18 PM
USB Hard Disk Drive In Slackware goofy871 Linux - Hardware 1 07-30-2005 10:38 AM
usb hard drive install? pnepo7070 Linux - Hardware 2 03-07-2005 12:32 PM
Fedora 1 will not install on USB hard drive sidehillbill Linux - Newbie 2 02-08-2005 04:48 PM
USB Hard drive not detected in Slackware 9.0 setup. landfill Slackware - Installation 3 12-25-2003 03:55 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration