Ubuntu Networking :: Script To Run The Modeswitch Command In Boot?
Jul 28, 2011
I am having one Huawei EC156 modem for my wireless broadband connection. Everytime when I boot the machine, I have to run the following commands in the terminal. The commands are as follows
Code:
cd /etc/usb_modeswitch.d
followed by
Code:
sudo usb_modeswitch -I -W -c 12d1:1505
I would be very grateful if I can have a launcher which run this script automatically in terminal by clicking on it.
View 3 Replies
ADVERTISEMENT
Oct 3, 2010
i'm having problems trying to get ubuntu to recognise my usb modem because its one of those "flip-flop"/"zero-cd" devices.okay so this is what is inside the usb-modeswitch.conf file
Code:
########################################################
# Huawei E169
[code]....
View 9 Replies
View Related
Jun 2, 2011
I have received a new huawei k3770 usb modem but ubuntu 11.04 (32 bit) picks it up as a cd rom but not as a modem. Modeswitch is installed and I have reinstalled it as well. I have googled it but I found nothing.
View 3 Replies
View Related
Jan 11, 2010
i've recently bought a ZTE MG880+ modem of reliance and since then i'm trying to establish a net connection in 9.10 but failed. As i was searching for a solution i came to know about wvdial and usb modeswitch;i dwnlded both the programs in XP and installed only wvdial because i couldn't install the usb modeswitch program. But still i was able to modeswitch with the following procedure,-
note down the idvendor & idproduct with lsusb
sudo chmod 777 /lib/udev/rules.d/61-mobile-action.rules
sudo gedit /lib/udev/rules.d/61-mobile-action.rules
changed the default idvendor and idproduct with my own e.g 0x19d2:0xfff5
saved the file in downloads folder with name 90-mobile-action.rules
moved the file to /etc/udev/rules.d folder
reboot
After rebooting when i again plugged in the usb modem the lsusb command showed that idvendor:idproduct=0x19d2:0xfffe.So i think that mode switching is done but still i'm unable to connect to internet
View 1 Replies
View Related
Mar 23, 2011
I installed via APT GET Modeswitch form my ZTE USB wireless modem. I need to know which modeswitch option is correct, and how to get Ubuntu 10.10 Studio to detect the modem in the my computer option. It only seems to detect a storage device.Using a Dell Inspiron Laptop.The modem glows green as it should, but no detection and connection.
View 3 Replies
View Related
Jul 13, 2011
I have use ubuntu for about 1 year.And i want to learn slackware.so I install slackware 13.1 in to my laptop.Then i try to connect to internet using my Huawei HSDPA mobile 3g dongle.Then i install usb modeswitch after reading several documentation in the internet.I follow the instruction in following documentation and try to configure etc/usb-modeswitch.conf using vi. But my usb-modeswitch.conf file is as follow and don't now how to configure.
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
[code]....
View 11 Replies
View Related
Feb 10, 2011
How-to install usb-modeswitch under Lenny?I cannot find it using apt-cache search.
View 2 Replies
View Related
Oct 13, 2010
I use a ZTE 626 USB modem to connect to the internet (and yes, i am in the wilds of nowhere!) which using USB-modeswitch 1.1.0-2 and ubuntu 10.04 works well.
I just upgraded one machine to 10.10 and it included the new modeswitch 1.1.4 which does not work, the modem is never discovered. I searched around and found that this is a bug in the latest modeswitch and apparently if you back down to version 1.1.3 it works.
So, i have two questions,
first, where can i find version 1.1.3 of modeswitch. I have searched and cannot find older version than 1.1.4 as a .DEB file.
second, i do have a really old version of modeswitch (1.1.0-2) on my hard-drive and have been trying to load my older 1.1.0-2 version and am having real problems with it. I remove the 1.1.4 version and its data using the ubuntu software centre and it looks like it properly is removed. I then click on the .DEB file that contains 1.1.0-2 and it opens the software centre and installs it (the data seems to be automatically loaded as i never have to install that). I then search for modeswitch and the version that has been installed is the newer 1.1.4 one, not the older one i clicked on. I am confused as this computer is not attached to the internet but it seems to find the newer version from somewhere, uses it and therefore does not work. I presume the version 1.1.4 is cached somewhere and i am not able to clear it out.
Incidentally, the source of the information that i have so far is here:
[URL]
From reading this, i do understand that there is a problem, After reading this bug fix I tried editing the config file for the modeswitch modems and changing all of them to the format indicated, but no joy.
View 9 Replies
View Related
Nov 4, 2010
Out of curiosity and stupidity, I configured 2 extended partitions to LVM in gparted. Now, I can't boot into X window, and there's only GRUB command line during boot.
View 5 Replies
View Related
Jun 30, 2010
I need to add a root command before x11 loads. How do i do that?
View 8 Replies
View Related
Mar 4, 2010
Is there something I can add to my "menu.lst" file to give me the option to boot Ubuntu into command-line only without needing to edit system files every time I want to switch
View 6 Replies
View Related
Sep 11, 2010
how i run the following lines onboot
code:....
/media$ sudo mount /dev/sdb1 /media/mediaStorage1
/media$ sudo mount /dev/sdc1 /media/mediaStorage2
View 5 Replies
View Related
May 24, 2011
Despite my best efforts to have them use debian or ubuntu server, a client wanted ubuntu 11 on the new server they built. It runs all the services I need it to, but would be nicer to have that server boot to command line. It seems nothing is going to work. I have tried:
1. changing /etc/default/grub to "quiet splash text"
result: blank screen
2. sudo update-rc.d -f gdm remove
result: no change
3. echo manual | sudo tee -a /etc/init/gdm.override
result: blank screen
Has anyone gotten Ubuntu 11.04 to boot to command line out there?
View 3 Replies
View Related
Mar 14, 2010
EDIT: sudo /etc/init.d/gdm stop worked, not sure why it did not before. Sorry for the whining!
I need to boot Ubuntu into a non-x, command line mode. So I can install an nvidia driver for my new GeForce GTX 260 (I had a GeForce 7900 running on my Ubuntu system using the synaptic open source 185 driver for nvidia, but there is no driver except the one I downloaded just now from nvidia's site for the GTX 260 card). That requires there be no X session running, not even in a separate domain so to speak. There is no rescue mode in Grub2. Recover mode in Grub still boots an X session (Gnome). Alt+F1 appears to be a clean command line terminal but even that does not work because the nvidia driver installer script sees through that ruse and knows there is an active Gnome session. I tried sudo /etc/init.d/gdm stop and that did not work. I tried ctr+alt+backspace and that did nothing.
What can I do? I tell you some days linux is just too frustrating, about to just toss the baby with the bath water and go back to Winblows. Bought a new graphics card today, and here I am stuck not being able to even install the driver from a command line prompt, geesh.
View 3 Replies
View Related
Apr 28, 2010
How do you actually install ubuntu? I cant figure it out, its nothing like windows! I download the unetbootin to make a boot usb drive.. I did that but when it boots it ask goes blue with a thing flash default. Then it asks me to press tab, when I do that it comes with a cmd. What should a write? If I click esc on the keyboard it brings a cmd line. If I write like E:dir it says kernel invalid. What is a cmd that runs the cd on a boot for ubuntu. How hard is to install it??
View 9 Replies
View Related
May 9, 2010
How can I preserve the command history in/for Zsh after boot?
View 2 Replies
View Related
Apr 29, 2011
I use two monitors,my problem is that I want to change the setup,so that the other monitor becomes default.There's no problem with my BIOS settings and I have tried every GUI tool that could help me(to my knowledge).Well I've found this URL...that helps a lot but I want to execute the command every time I boot before the splash screen(so that the login screen appears on the right monitor).I've tried rc.local but had no success.Any ideas on how to execute the command at boot time?
View 9 Replies
View Related
Jun 20, 2011
In a computer, the brightness can't be changed with the fn key (and the brightness starts at 100%) :S I can set the brightness with this command from a shell: sudo setpci -s 00:02.0 F4.B=25 In Ubuntu 10.04 worked set this command in /etc/rc.local But in Ubuntu 11.04 I did this, but it didn't work. In which file can I set a root command in the boot in Ubuntu 11.04?
View 3 Replies
View Related
Aug 8, 2010
Just installed Ubuntu 10.04 LTS as a VM on MAC OSX. I want to auto boot to the command line, but the GUI keeps coming up. I ran "sudo update-rc.d -f gdm remove", but it didn't work.
View 8 Replies
View Related
Jan 9, 2010
i have successfuly installed ubuntu karmic inside my windows 7. After an update, i restarted it. but it didnt boot ubuntu. instead it shows grub's command line. what should i do? all of my java projects/programs is in there.
View 2 Replies
View Related
Mar 13, 2010
I have used the below command to do that successfully for the previous version of ububunt, but this time I failed to do that with Ubuntu 9.10. I know I can do that manually by "sudo /etc/init.d/gdm stop" command. I try to change the name of /etc/init.d/gdm files, but the problem still exist.m"sudo update-rc.d -f gdm remove"
View 3 Replies
View Related
Apr 6, 2010
I just installed a fresh install of 9.10 on my amd64. when it starts it locks up right away. i know that this has to do with my nvidia card. i've had to do this in the past. but since it locks up i have no way to get into the command line. ctl-alt-F1 does not work. is there a way to just have it boot right to the command line without loading up gdm?
View 1 Replies
View Related
Sep 1, 2010
I did a clean install of Lucid from the alternate installer, onto a generic Intel/Celeron PC box. I used a command line only install, and used the entire hard disk; there's no other OS and no other partitions on the disk. Install goes along and finishes fine, reboots, and I can log in. But if I call sudo reboot, or shut down the machine then restart it, the boot process hangs. I see the POST screen, then a flashing cursor on a black screen for a few seconds, then the monitor goes into standby. I see no messages or any kind of output to the screen. I get the same problem using the Lucid Server installer and also when installing on a different box (Dell Intel/Celeron). I also tried running all the updates after install but before any kind of reboot...same thing.
This only seems to be happening using a command line only version of Lucid. Lucid GNOME/XUBUNTU install and work OK on both boxes. I can boot from a CD or USB key, but not sure where to look or what to check.
View 1 Replies
View Related
Dec 20, 2010
In dealing with the Nvidia Powermizer, I have to set it to "Prefer Maximum Power" mode from adaptive mode in order that I can avoid laggy in using my GUI. However, it doesn't save this setting so I have to manually tweak it everytime........
Someone on the web taught me to use the following command line:
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1
running it in the terminal it will set to the mode I want.
Would I be able to make my computer run the above command in terminal everytime it starts? I tried to put the command in the start up applications and it seems not working.
View 5 Replies
View Related
May 24, 2011
I recently installed Ubuntu 10.04LTS on my computer and realized I wanted to give 11.04 a try. So, using the Update Manager both times, I applied all updates then upgraded to 10.10 then to 11.04.
Here's where the problem starts. Grub loads fine. I choose Ubuntu. I briefly get a purple splash screen then a black screen with some text that looks like Ubuntu is trying to load (I've attached a picture of this screen). This screen flashes a couple times then stays up and nothing happens afterwards. I can input text and commands but I get no response. Not even an "invalid command". The only thing I can do is press CTRL+ALT+DEL and my computer will reboot.
I have Ubuntu installed alongside Windows 7 on a 50Gb partition (plenty right?), AMD 64-bit dual core processor, and an ATI Radeon HD 3200 graphics card. This is on an HP Pavilion dv3 laptop.
View 3 Replies
View Related
Jul 8, 2011
Would be possible to have a dual boot with Ubuntu only loading the things necessary for command line use of emacs?
I thought it might be good to be able to take notes for class on a quickly booting command line. (It has the added benefit of being less distracting)
Does it work like that? Could a pared down command-line only install be sufficiently faster on boot-up? Might another flavour of Linux be more suited to the task?
View 4 Replies
View Related
Sep 1, 2011
I don't recall my Ubuntu password.**
I found instructions regarding recovery.
They involve pressing Ctrl-Alt-F1 while booting the Ubuntu live CD.
If I allow the live CD to boot, I arrive at a Ubuntu GUI.
However, if I press Ctrl-Alt-F1, the monitor (HDMI TV) goes blank and indicates "no signal
correcting the password from a GUI (can I just go to a command prompt from there somehow, and work from that command prompt?) or getting my video to display when I press Ctrl-Alt-F1?
** (I remember trying to set up the system with NO password).
It's absurd to require one.
Especially so if a person with a live CD can simply change it (I guess at least the change would be detected).
View 1 Replies
View Related
Feb 25, 2010
I can't boot Ubuntu 9.10 on this computer (on my other computer it works fine). When I try to run it from the CD or USB I see a screen full of colored lines, and when I try to use safe graphics I get to the shell but the whole screen is blinking and I can't type any command. Anyone knows how to solve it? My graphics card is GeForce 7300 LE and on my other computer (the one that can run Ubuntu find) has an on-board graphics card.
View 2 Replies
View Related
May 14, 2010
I know there is a way to do this... What do I need to install to give me this option from the login screen?
View 2 Replies
View Related
Sep 29, 2010
I recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.
View 4 Replies
View Related