LinuxQuestions.org
Visit Jeremy's Blog.
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 05-30-2009, 04:28 PM   #1
Pigmy
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
Acer Aspire One vs 3 mobile broadband


Hi,

I know there are a few posts around on a similar basis but I think my problem is a bit more fundamental!

I have a 3 mobile broadband dongle (ZTE MF622) and have recently purchased an Acer Aspire One with Linux OS. When I plug the dongle in it sees it as a mass storage device.

Anyway, I've surfed round the web and found a likely solution which involves writing a file to the /etc/udev/rules.d/ directory

http://hillj.co.uk/2008/01/31/how-to...-linux-ubuntu/

My problem is that when I get to that directory and try to save a file it says "Can't open file to write". I'm guessing that I don't have admin writes and have heard about using su and sudo to get these but I can't seem to find where to put these in. If I open a terminal window and enter su it asks for a password which I put in. But so what? I'm still in a terminal window and can't create a file from there. If I leave this window and go back to file manager it still has the same error. I'm really new to this Linux business and its been 20 years since I did any programming so I'm probably doing something very basically wrong.

Any help in getting to the bottom of this would be greatly appreciated

Alan
 
Old 05-30-2009, 04:46 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
You were acutally heading in the right direction. Go back to the terminal and type su and the root password. then once you are done type in
Code:
cd /etc/udev/rules.d
vim <file name>
that will now allow you to place the information in that file. replace file name with the actual filename needed. you can also sub vim with another editor of choice like emacs, nano, or pico.
 
Old 05-31-2009, 03:18 AM   #3
Pigmy
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

Thanks for that - I think I'm getting there but have hit another wee barrier!

I open a terminal window, type SU, Password etc as above.
When I typed in the VIM command it allows me to copy and paste the text into the terminal window for the new file.

When I close the window it creates a .swp file - I'm guessing I didn't save it properly but for the life of me I can't find a save function! I tried to open it using Mousepad as well to try and edit it there but it said persmission was denied. I'm sure I'm being a numpty and doing something really basically wrong.

Thanks
 
Old 05-31-2009, 04:20 AM   #4
Pigmy
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Hooray - solved that one. :wq of course. Imagine me not knowing that!

Anyway, next problem. The article I'm following says to crate another file /etc/ppp/peers/three. I've done that.

It then asks you to "edit /etc/ppp/peers/three.chat" I've tried entering it and it says
bash: edit: comand not found

I tried it without the word "edit" but it came back with
bash: /etc/ppp/peers/three.chat: No such file or directory
I checked on file manager and there is a file in etc/ppp/peers/three

I'm guessing I need a command that the Terminal window will recognise to allow me to edit the file - any ideas.

Oh and if it helps, I tried just typing /etc/ppp/peers/three and it said Permission denied. I have signed in with su before hand so I am a User

Thanks
 
Old 05-31-2009, 04:36 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Instead of edit, use vim. And you probably need root permissions again.
 
Old 05-31-2009, 02:12 PM   #6
Pigmy
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks to everyone for their help so far. I’m a bit further advanced now!

I’ve followed the instructions from the weblink and been able to install all of the files required. However when I go to run the programme I get an error:-
In file /etc/ppp/peers/three: unrecognized option ‘replacedefaultroute’
Anybody got any idea where I’m going wrong? Any clues where to find a solution?

Thanks
 
Old 05-31-2009, 02:49 PM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
'replacedefaultroute' does not seem to supported in each version of Linux (better said: not every implementation of pppd). My Ubuntu box supports it, but this pppd manpage does not mention it. So there is a good chance that Linpus Lite does not know about that option either.

In which case I would start with leaving it out.
 
Old 05-31-2009, 03:02 PM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I agree. I would just comment out that line and try again. You can comment the line by using the # symbol
 
Old 05-31-2009, 03:52 PM   #9
Pigmy
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Hi - thanks for the advice

I tried taking out the comment and the error went away. Now when I type the command in, the cursor pauses for a second and then returns a new standard command prompt. So no errors - but no action either! I really don't know where to go from here. 4 hours on the phone to 3 customer services, three or four e-mails to Acer and both have basically told me to give up.

I'm not sure the netbook is actually seeing the dongle. Originally I popped the little fella in and the netbook highlighted that it could see a mass storage device. Since I loaded up the programmes for the patch it doesn't even register when I put it in (or pull it out). A bit like the wife really!

I'm probably getting tired and making mistakes - surely I should be able to see what's attached to my USB ports? I must be making the kind of mistake that a 5 year old could rectify but I'm stuck. HELP!
 
Old 06-01-2009, 09:02 AM   #10
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
OK, I don't know whether any of this helps (don't have, and have never tried, a ZTE device nor an Aspire One) , but just in case something does help:
  • If you have it, you might find 'joe' friendlier than 'vim'. Joe is a wordstar work-alike and if you used WS 20 years ago, and can still remember it.... OTOH, the distro shipped with the Acer does not have the highest reputation, so its probably just stripped down to the basics.
  • 3 sells ZTE and huawei dongles. In a recent kernel release there were drivers for a few Huawei devices that made there way in. I'd guess that Huawei is probably less trouble than ZTE in the medium/long term, for that reason. OTOH, the distro that you've got probably isn't recent enough to support the latest huawei device.
  • I believe that the way that ***some*** of these USB devices work is that there is a file within the USB drive that is a windows driver. If what you are seeing is just a data file, the chances are that this is what is being detected (and nothing else). I believe that it is sometimes possible to make this work under Linux, using ndiswrapper, but, unless all else fails, this might be best considered an advanced topic.
  • One of the Huawei devices (the latest??) supports 7.2 Mb data transfer; the others only support 3.6 Mb; this isn't an issue today as the network only supports 3.6M, but next year a network upgrade is scheduled and that is supposed to give 7.2 (under ideal conditions...), so at that point, having one of the 7.2 M devices could be a real advantage.
  • This may all sound like you've got the wrong device and there's nothing that you can do about it, but 3 have a 14 return policy....which might help, if you were prepared to return what you have and get a huawei, in particular, the one that allows the faster data rate.
  • I'd guess that upgrading the Aspire to another distro would be a better place to be (Ubuntu netbook remix? I saw a review recently, but I can't honestly say I can remember the outcome), but I could entirely understand if you don't want to do that right now. Maybe you need to just look at how to get control of what youv'e got: try settings manager > desktop preferences (top left icon) > behaviour and check 'Show desktop menu on Right Click' to make a more traditional menuing system availble from a right click on the desktop. Also potentially worthwhile is alt-F2 > xfce-setting-show (or should that be settings not setting?) to get the Xfce settings manager.

Last edited by salasi; 06-01-2009 at 09:03 AM. Reason: missing word
 
Old 06-02-2009, 02:44 AM   #11
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I can't remember if pppd will return any messages when it does not encounter problems. So it might be working.

To check if the system sees the dongle, you can try 'lsusb' in a terminal. You can also run the 'dmesg' command and analyze the output (pipe the output through less for easier reading).
And you can run 'ifconfig' to see if you have been given an ipaddress.
 
  


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
Acer Aspire One-Linux - 3 Mobile Internet Dongle boodog LinuxQuestions.org Member Intro 2 12-28-2008 12:59 PM
3g mobile broadband wont work on Aces Aspire One pemt Linux - Laptop and Netbook 3 10-04-2008 02:32 PM
Configuring Acer Orbicam on an acer aspire 7720 with fedora 8 ags123 Linux - Laptop and Netbook 3 02-11-2008 09:21 AM
APM or APCI on ACER Aspire 2012WLMi (Aspire 2010 Family) FTP_Palace Linux - Laptop and Netbook 4 07-15-2004 07:08 PM


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