How to find my USB stick (so I can install NIC drivers)?
Linux - NewbieThis 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
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.
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.
Since you've said you use putty/ssh to get into the box, it would be FAR easier to mount the USB stick on your Windows system, and just use SCP to copy the files from the stick to the IPcop system. Seeing the IPCop documentation and tutorials is also a good thing..did you check there? http://www.ipcops.com/wiki/howto:copying http://www.ipcops.com/wiki/faq:start
Since you've said you use putty/ssh to get into the box, it would be FAR easier to mount the USB stick on your Windows system, and just use SCP to copy the files from the stick to the IPcop system. Seeing the IPCop documentation and tutorials is also a good thing..did you check there? http://www.ipcops.com/wiki/howto:copying http://www.ipcops.com/wiki/faq:start
Unfortunately I can't ssh into a box that doesn't have a NIC driver - I can't even ping it. Unfortunately the IPCop documentation as well as forums was my first port of call but I had no luck which is why I've come here.
Does anyone else know how to find a USB stick in linux? Even if it's another kernel 3.x distribution it may be good enough
Goodness you're on the ball! Thanks for yet another reply TBOne.
Oh okay, they must have made a mistake when they wrote in the IPCop documentation "IPCop Linux is a complete Linux Distribution." http://www.ipcop.org/2.0.0/en/instal...roduction.html thanks for the correction
It is 'complete' in that it runs Linux. It is *NOT* complete if you're going to consider it a "Linux server". IPCOP was designed to do ONE THING: act as a firewall.
To draw an analogy, you may have a Linux kernel on your Android phone, but that does NOT make it a Linux server; you may have Windows as the base of your car entertainment center, but it's not a Windows server. These are specialized distros. This was explained in detail in your thread from four years ago.
Quote:
Unfortunately I can't ssh into a box that doesn't have a NIC driver - I can't even ping it. Unfortunately the IPCop documentation as well as forums was my first port of call but I had no luck which is why I've come here. Does anyone else know how to find a USB stick in linux? Even if it's another kernel 3.x distribution it may be good enough
Then this is a brand-new system you've built? Because the one you posted about previously was working, and you said you had successfully used putty to connect to it.
If you can log in at the console and get to a root prompt, you should see a device get created when you insert the USB stick. Chances are, your hard drive is something along the lines of /dev/sdaxx (where xx is 1, 2, etc., corresponding to the partitions on the drive). Your USB stick will probably come up as /dev/sdbxx. So, just mount it like you would any other drive in Linux.
Code:
mount /dev/sdbxx /path/to/mount/to
Create a directory if you want, and replace the /path/to/mount/to with it. Replace the sdbxx with whatever your USB stick has on it, chances are it'll be /dev/sdb1.
Hi TB0ne and Jefro, thank you both for your replies. I've got a screen plugged into my physical machine (and yes it's a new machine the other one died). Alright for the USB stick at last I have lift off! I'll just post my steps here for anyone else needing this (or myself in 4 years to come ha ha ).
Code:
# Before you plug your USB in:
$ lsusb
$ ls -l /dev/sd*
# Now plug in the USB and you should be able to identify it:
$ lsusb #You must see your usb listed here which means your usb port is working - hooray
$ ls -l /dev/sd* #The additional "sdxx" is the "drive" your usb is in - I have sdb1
# Create a directory where your USB drive will be mounted
$ mkdir usb_stick (...or you could put it in /mnt/usb_stick)
# Now "mount" your usb into this new directory so it is accessible
$ mount /dev/sdb1 /mnt/usb_stick
# Hooray! Now go see your USB stuff:
ls /mnt/usb_stick
Golly the easy part is done now... on to installing the NIC drivers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.