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.
Hi, I would like to know how to mount and unmount one particular usb port assuming I do have a device already inserted into it. My plan is to create a script and run it on start up at rc.d but this I already know. I only need to know how to mount and unmount.
Thanks for the quick reply Hern.. but I think I have got a different situation.
Here it is...
I'm using D-link wireless usb for my connection.
ndiswrapper and driver for my wireless usb were installed correctly and I can use them...
the problem...
I need to boot my machine without the wireless usb. After the script "modprobe ndiswrapper" in rc.d which I already did... then I can insert the usb again and run my script to bring up my wlan0... after all those steps I don't have any problem with my connection even if I leave it for days and weeks idling ... it's superb.
My plan...
at start-up I will make a script 1) to disable the usb port where my wireless usb is inserted and
2) then the ndiswrapper -m to modprobe
3) mount the usb port again
4) and lastly... the script to bring up wlan0
that way I think the machine will think that I just inserted my wireless usb after the modprobing.
Thanks I'll give it a try tonight at home...but it looks too much for me though. I don't know if it also apply the same in wireless usb. It was talking mostly with PCMcIA card which is detected right away by Slackware.
But I think I really need to look into it. My machine must be running to wireless scripts at boot time. I relaized it after I look at the link you gave me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.