LinuxQuestions.org
Help answer threads with 0 replies.
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 10-27-2014, 11:21 AM   #1
michellepace
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Rep: Reputation: 2
Question How to find my USB stick (so I can install NIC drivers)?


Hello,

My machine as only IPCop installed on it. IPCop doesn't have a specific distribution underlying it, but I do know that the kernel is 3.4-2
http://www.ipcop.org/2.0.0/en/instal...roduction.html

I need to install two NIC drivers which are on my USB stick. How do I find my USB stick?

Thank-you, Michelle
 
Old 10-27-2014, 11:40 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by michellepace View Post
Hello,
My machine as only IPCop installed on it. IPCop doesn't have a specific distribution underlying it, but I do know that the kernel is 3.4-2
http://www.ipcop.org/2.0.0/en/instal...roduction.html

I need to install two NIC drivers which are on my USB stick. How do I find my USB stick?
IPCop isn't really a distribution, but made to turn a box into an appliance, which was covered in the thread you posted four years ago:
http://www.linuxquestions.org/questi...-using-820348/

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
 
Old 10-27-2014, 12:52 PM   #3
michellepace
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Original Poster
Rep: Reputation: 2
Goodness you're on the ball! Thanks for yet another reply TBOne.

Quote:
Originally Posted by TB0ne View Post
IPCop isn't really a distribution, but made to turn a box into an appliance, which was covered in the thread you posted four years ago:
http://www.linuxquestions.org/questi...-using-820348/
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

Quote:
Originally Posted by TB0ne View Post
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

Thanks,
Michelle
 
Old 10-27-2014, 03:42 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by michellepace View Post
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.
 
1 members found this post helpful.
Old 10-27-2014, 04:20 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,398

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
If you can't access the system remotely then how are you going to get the drivers on?

I would think it would automount to some place. That place tends to be /media in many distro's. It could be in /var down some place. Could be in /mnt.

Use command mount to see what is mounted if you can get to command line. And as I recall you should if you are at the physical machine.

Last edited by jefro; 10-27-2014 at 04:23 PM.
 
Old 10-28-2014, 12:52 AM   #6
michellepace
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Original Poster
Rep: Reputation: 2
Thumbs up

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.

Thanks again, Michelle
 
1 members found this post helpful.
Old 10-28-2014, 03:51 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,398

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
I think you have it solved. Good job. Let us know if we can help again.
 
  


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
How to find my USB stick? michellepace Linux - Hardware 3 10-27-2014 01:26 PM
[SOLVED] Debian Live iso on USB stick not able to install wireless drivers ShaneRoach Debian 6 02-05-2014 11:25 PM
fc17 install nvidia drivers & modeswitch Telstra Bigpond usb modem/memory stick worzel1968 Fedora 7 07-20-2012 12:19 AM
How to find which drivers - configure kernel to boot off a USB stick without initrd Couling Linux - General 4 10-30-2009 10:04 PM
detecting NIC, USB stick and Sound card newcanontech Linux - Hardware 1 08-12-2007 10:02 PM


All times are GMT -5. The time now is 05:24 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