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.
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
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:
there are ips from korea, washington dc, and brazil
what should i do in order to protect my system?
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.
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?
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.
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..
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?
|All times are GMT -5. The time now is 07:19 PM.|