General :: Disable 3G USB Modem Internal Storage From Being Loaded By System Kernel?
Mar 1, 2011
I've got a problem with my 3G modem [Huawei E122].
It has internal storage and kernel assigns a device [/dev/sdX] to it.
Because of that, every second time my machine will not boot - kernel panic - as my usb hdd gets assigned /dev/sdb instead of /dev/sda.
I cannot use LABEL nor UUID in root= kernel parameter, as it is only available when using initrd, and I can't use it - I am using Debian on my router - mips architecture machine.
I have to prevent this from happening, as my router has to start everyday and I have to be sure it works ok. I don't have physical access to restart it when something goes wrong.
I don't use my modem internal storage, there's no SD card inserted. However kernel detects the reader and loads it.
I can not prevent loading od usb drivers since my hdd is on USB as well.
View 1 Replies
ADVERTISEMENT
May 24, 2010
I have a zyxel dsl (usb) moden, which needs a firmware portion to work, called cxacru-fw.bin.
I have been using this modem using with at least two different slackware distributions, even when the atm drivers were not included in the kernel.
Presently I am using slackware 13.0, with the vmlinuz-huge-smp-2.6.29.6-smp kernel.
I downlowded the 2.6.34 kernel, because I need it for a new webcam, compiled and installed it, and oops! the modem does not work anymore.
I am pretty sure I have configured the kernel correctly; dmesg tells me the modem is recognized by the kernel, as it is with the previous one, but the firmware is not loaded, because the DSL led remains off.
I attach the kernel configuration lines:
I have tried forcing the kernel to load the firmware, using but it didn't work either.
View 1 Replies
View Related
Apr 1, 2011
I am trying to disable USB storage from servers.What I did is as following1> modprobe -vr usb_storage2> blacklist usb_storageIt is working fine. But root can again load the module into the kernel. [ modeprobe -v usb_storage ] want to restrict this also. My requirement is not even root can access the usb storage.
View 5 Replies
View Related
Dec 26, 2010
I'm using centos 5.5,my problem is that i need to disable usb-storage in my machine.But i need usb mouse and usb keyboard to function properly.I have tried all the below mentioned methods,
1.Appending blacklist-usbstorage to /etc/modprobe.d/bl*
2.removing the *.ko file,which removes the usb-storage drivers.
3.Added the line, install usb-storage /bin/true to /etc/modeprobe.conf
The first mentioned method works partially.That is the usb port in the front panel of the cpu is gets disabled.But,when i insert it at the port behind the CPU, usb-storage(pendirve) mounts automatically,which should not happen.
NOTE:usb-storage have to be disabled only for normal-users
View 2 Replies
View Related
May 20, 2010
I have a Centos 5.4 server running kernel 2.6.18-164.11.1.el5PAE. It has an internal modem, and I need to be able to issue AT commands from a script to the modem. I need to simply dial a number and hang up. The relevant piece of my script is:
[Code]...
With an external modem, this works no problem. With an INTERNAL modem, the call never goes out. I fired up minicom to make sure the modem was working correctly, and if I issue those AT commands from within minicom, everything works great.
While minicom was running, I noticed a peculiar fact: WHILE minicom is running, the script works from the command line, and I can see all the AT commands and OK's in minicom, (minicom acts as a monitor). When I exit minicom, the script stops working. It appears minicom is creating a bridge between the com port and the modem itself. So, what is minicom doing that I'm unaware of?
The server's sole function is to run asterisk as a voicemail server (avaya wanted well into 6 figure territory to implement this....). This script is to dial an avaya FAC to turn the voicemail message lights on and off on the end users' phones.
View 4 Replies
View Related
Nov 18, 2010
i am looked htop load CPU and it showed to me that kernel loaded CPU on 100%.
View 9 Replies
View Related
Nov 28, 2010
I recently updated the kernel from SLES 11 to SLES 11 SP1 .However my kernel modules are not getting loaded and they throw an error such as shown below:"Errornserting mii : Unknown symbol in module, or unknown parameter (see dmesg)"
View 8 Replies
View Related
Feb 8, 2011
when i poote the code you give me the grub>say error 8:kernel must be loaded beforebooting.what ihave to do now?
View 2 Replies
View Related
Apr 5, 2011
I am trying to install Debian lenny and ext2 filesystem with GRUB as bootloader in my USB memory stick to boot linux . However , when i try it out on my PC , a grub error : No loaded kernel is shown. I have checked that the kernel image is located in /boot.
View 14 Replies
View Related
Mar 11, 2011
I'm interested in buying a new hardware for my company. The old server (now 10 years old) should be replaced with a new one. Till now, I was looking on different hardware suppliers, boards and different other places. I found a Tyan board [URL]. The hardware spec is quite interesting and the board would fullfill our claims.
how both storage devices will be supported by Ubuntu or Debian??
- SATA-Controller: AMD SP5100
- SAS-Controller: LSI 1068E
View 4 Replies
View Related
Dec 22, 2010
im doing a school assignement and i cant find any info about this anywhere. How do i make sure that a module is loaded into the kernel upon boot?
View 2 Replies
View Related
Dec 24, 2010
what is happening on my Centos virtual server (ps I'm having a great time re-learning Linux after a large gap and usually try and find out myself but this has me confused) First thing I did was install Tomcat and try and change the port to 80 using iptables -nat and it complained a kernel module was missing. Instead setup Apache to redirect requests so that's now working I then tried to install CSF firewall and the validation perl script returned fatal errors so I assumed OK my virtual server Kernel is restricted and used denyhosts instead which is working great
Here's the confusion.. I later retried the csftest script and it now works including all the iptables and nat stuff that fataled before. I've not rebooted or changed anything except run denyhosts and the postgres daemon + ended a few daemons that I didn't need (eg pickup,tlsmgr,courier,postfix,qmgr,saslauthd) Running lsmod returns nothing and /proc/modules is zero bytes so I'm not able to tell what is loaded? I'm tempted to try and get Tomcat redirecting via iptables and see what happens but if it works I don't like that something seems to have changed.. before I ran it direct as root now I'm SU into root from another login
View 1 Replies
View Related
May 4, 2010
Out of curiosity, can you chainload a Linux system via a Windows executable within Windows at the ordinary desktop?Knowing windows there would be enough holes to write at any memory address without "permission", but can it be done with a humble executable? Or is Windows just too active, without the chance of nothing happening at any one pointo that everything can be exited cleanly non-existent?I'm not asking for a program or guide to do this and neither do I aim to do it. As I've stated it is all out of curiosity on whether or not some sort of protection is in place to stop this kind of thing
View 5 Replies
View Related
Jun 3, 2010
I've searched high and low, and can't figure this one out. I have a older Olympus Camera (2001 or so). When I plug in the USB connection, I get the following log output:
$ dmesg | grep sd
[20047.625076] sd 21:0:0:0: Attached scsi generic sg7 type 0
[20047.627922] sd 21:0:0:0: [sdg] Attached SCSI removable disk
Secondly, the drive is not mounted in the FS, but when I run gphoto2 I get the following error:
$ gphoto2 --list-config
*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***
What command will unmount the drive. For example in Nautilus, I can right click and select "Safely Remove Device". After doing that, the /dev/sg7 and /dev/sdg devices are removed.
The output of gphoto2 is then:
# gphoto2 --list-config
/Camera Configuration/Picture Settings/resolution
/Camera Configuration/Picture Settings/shutter
/Camera Configuration/Picture Settings/aperture
/Camera Configuration/Picture Settings/color
/Camera Configuration/Picture Settings/flash
/Camera Configuration/Picture Settings/whitebalance
/Camera Configuration/Picture Settings/focus-mode
/Camera Configuration/Picture Settings/focus-pos
/Camera Configuration/Picture Settings/exp
/Camera Configuration/Picture Settings/exp-meter
/Camera Configuration/Picture Settings/zoom
/Camera Configuration/Picture Settings/dzoom
/Camera Configuration/Picture Settings/iso
/Camera Configuration/Camera Settings/date-time
/Camera Configuration/Camera Settings/lcd-mode
/Camera Configuration/Camera Settings/lcd-brightness
/Camera Configuration/Camera Settings/lcd-auto-shutoff
/Camera Configuration/Camera Settings/camera-power-save
/Camera Configuration/Camera Settings/host-power-save
/Camera Configuration/Camera Settings/timefmt
Some things I've tried already are sdparm and sg3_utils, however I am unfamiliar with them, so it's possible I just didn't find the right command.
# mount | grep sdg
# mount | grep sg7
# umount /dev/sg7
umount: /dev/sg7: not mounted
# umount /dev/sdg
umount: /dev/sdg: not mounted
# gphoto2 --list-config
*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***
View 4 Replies
View Related
Apr 23, 2011
I'm new to Ubuntu. Recently bought a lenovo x100e netbook and installed ubuntu. Is there any Ubuntu Expert based in Cape Town that can assist to configure my internal 3g modem and a few other minor issues.
View 2 Replies
View Related
Jul 5, 2010
I would like to know a way to disable the usb storage capability of the clients computers on a LAN, running opensuse 11.2.
-- I tried the modprobe -r usb-storage , but nothing happend
-- I tried the nousb option when loading the kernel, it worked, but mouse which was connected through usb port was also disabled
-- Also there is no usb-storage.ko driver inside the /lib/modules/2.6.31.12-0.2-desktop/kernel/drivers/usb/storage folder... there isn't the storage folder itself
View 9 Replies
View Related
Feb 21, 2011
is there a way or terminal command to disable access to a USB storage device upon insertion given that it is not permitted?
View 5 Replies
View Related
Nov 4, 2010
I am beginner in UBUNTO 10.04 LTS. I have a mobile broadband of Relience which use the device of Huawei EC 1262. I have a problem with this modem. when i installed required packages for this device like usbswitch, wvdial etc, my internet connect works fine but as i switch off the PC and restart, PC can not detect the modem, it detect as mass storage device. Is there any command/option that i switch the mass storage device into modem in the terminal window or on the GUI platform mean on the desktop screen.
View 2 Replies
View Related
Apr 7, 2011
I have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.
Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?
View 2 Replies
View Related
Aug 12, 2010
I have doubts regarding storage:
How to configure the Events of Storage Processor?
What are performance issues will come daily in a critical production server?
What are first steps for disk performance Check?
What are first steps for Storage Processor performance Check?
What are first steps for MetaLUN performance Check?
View 2 Replies
View Related
Jun 8, 2010
I am trying to do the cluster storage with the Rock Cluster storage operating system . I have install the rock cluster on the main server . and I want to connect the client with the PXE boot . when I starting the client then it boot from the PXE boot into the mode of compute node. but it ask the where is to be stored the I have give the path..then server says that not able to find the directory path.
Steps:-
1) insert-ethers
2) client is started with the PXE boot.
3) it detects the dhcp .
4) At last it demand where is to be started by cd-rom, harddisk ,nfs etc.
then I started with the nfs and I have given the lanIp of server.and server is detecting the client but client is not finding the filesystem directory. into export partition directory but it is not taking path.
PATH:-
/export/rock/install it is not finding this path then it is not able to start the o/s from PXE boot..Is there any solution and manual of rock or anyother solution then u can reply to me...
View 3 Replies
View Related
Aug 12, 2010
Is it possible to use connect to the Internet using my internal modem which i have in my laptop using debian.. Please do help.Ofcourse i can do this with the windows 7 which is also installed in my lap..
I have a MSI laptop with model no. vr440..[color=#404040][/color]
View 1 Replies
View Related
Mar 1, 2010
I want to disable usb storage module on Ubuntu 8.10. I also have Ubuntu 9.10 and when I put
blacklist usb_storage
in /etc/modprobe.d/blacklist.conf everything is fine.
When I do the same in 8.10 nothing happens. The difference is that there is
/etc/modprobe.d/blacklist
View 2 Replies
View Related
Aug 20, 2010
I installed Ubuntu having one IDE HDD and I didnt' make any partitions. Bootloader couldn't install, and I continued without installing it. After this, I plugged in a sec HDD SATA.To install grub I followed what Saikee suggested:
sudo su
mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1
[code]...
View 8 Replies
View Related
Jun 5, 2010
I currently using Ubuntu 10.04 LTS
View 2 Replies
View Related
Apr 19, 2011
I've just installed ubuntu on my father's netbook hp 210 mini 3g with internal 3g modem. At the beginning everything was fine - system automatically detected modem and asked for PIN code. I was very surprised but during download some updates connection broke.. and since then ubuntu doesn't detect modem. I have even reinstalled system
In the broadband connection wizard there is no device detected. I'm on ubuntu 11.04, but on the 10.10 was the same problem.
View 1 Replies
View Related
Jan 15, 2010
I work for a regional cell phone company, and have recently taken it upon myself to create some documentation that will aid our mobile broadband users with installation of the aircards we carry.I decided to start out with Ubuntu 9.10, and I am using a Novatel mc727. I set it up using the mobile broadband feature that is built in, but I am having a few problems. First I have noticed that once you get the connection created, if you try to edit the settings, an error pops up stating that you are not authorized to do so, before I even get a chance to put in the password. Its not really a big deal, and if it comes down to it you can always delete the connection and start over. However, I have noticed that with the card plugged in, sometimes it can take up to 15 minutes to be recognized as a connection. I got to thinking about it and figured it may have something to do with the fact that this card, and all the cards we carry are seen on windows as a mass storage device. So to test this, i left the card in and rebooted, and of course on reboot, the card was mounted and once i hit eject, it was seen as a modem right away.
View 4 Replies
View Related
Apr 16, 2011
I am keen to get the internal modem working on my notebook, so I can set up faxing and dial-up internet access.
I have failed to get it working by using the Linuxant alsa-driver-linuxant and hsfmodem packages, but that may be because I am doing something wrong.
alsamixer on my system tells me I have CARD: HDA Intel and CHIP: Analog Devices AD1984.
I have these devices in /dev, which appear to be candidates for modem operation:
Code:
[doug@cardraeh Modem]$ ls -l /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 Apr 16 11:40 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Apr 16 11:40 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Apr 16 11:40 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Apr 16 11:40 /dev/ttyS3
[Code].....
View 4 Replies
View Related
Jun 18, 2014
I want to disable mounting usb storage devices except some devices based on its vendor id. I tried by adding below udev rule in debian wheezy
Code: Select allACTION=="add", SUBSYSTEMS=="usb", RUN+="/bin/sh -c 'for host in /sys/bus/usb/devices/usb*; do echo 0 > $host/authorized_default; done'"
ACTION=="add", ATTR{idVendor}=="054c", RUN+="/bin/sh -c 'echo 1 >/sys$DEVPATH/authorized'"
But it disabled all usb devices(USB keyboard and mouse). How can I allow other devices except storage devices.
View 0 Replies
View Related
Oct 5, 2010
I am running Fedora 12 OS on my machine. I would like to disable the USB devices for normal users so that usb-storage devices cannot be plugged in. However at the same time a mouse or a keypad may/could have a usb connection. note that root should be able to use the usb storage devices. How can the same be done on fedora 12? I would prefer not to do it via the BIOS options.
View 6 Replies
View Related