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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-13-2006, 06:37 PM
|
#1
|
Member
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103
Rep:
|
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.
|
|
|
02-13-2006, 06:45 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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
|
|
|
02-13-2006, 07:06 PM
|
#3
|
Member
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103
Original Poster
Rep:
|
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.
|
|
|
02-13-2006, 07:28 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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.
|
|
|
02-14-2006, 11:44 AM
|
#5
|
Member
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103
Original Poster
Rep:
|
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.
|
|
|
02-14-2006, 01:06 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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.
|
|
|
02-14-2006, 01:12 PM
|
#7
|
Member
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103
Original Poster
Rep:
|
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!!!
|
|
|
02-15-2006, 01:43 PM
|
#8
|
Member
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|