Syndicate

Syndicate content

Hello from linux and dun

Fragger's picture

So I finally, after multiple different days of searching and trying, got my v3m, that's flashed to Alltel, to connect and dial up from linux (Ubuntu 7.10 specifically).

First off EVDO disabled like usual. And also you need the no pap thing that would let you use dun from a palm pilot or what not. This is because the dialing program ppp in linux does not let you specify security options and such as you can do with the winders dialer.

So follow this guide up to and including #4 http://www.hacktherazr.com/guides/verizon.dun.ppc.php.

This next part is modified from: http://www.blackberryforums.com/linux-users-corner/101715-how-verizon-8703e-usb-tethered-linux-ubuntu-7-10-a.html.

At the terminal type: tail -f /var/log/messages
Then plug your phone into your computer, you should see something like this:

Apr  8 00:19:49 Kevin-server kernel: [910921.674934] usb 1-1: configuration #1 chosen from 1 choice
Apr  8 00:19:49 Kevin-server kernel: [910921.677897] cdc_acm 1-1:1.0: ttyACM0: USB ACM device

We are looking for the ttyACM0 part telling you how to access your phone from linux.

Do a ctrl+c then type: sudo gedit /etc/ppp/peers/1xdun
Feel free to replace gedit with your favorite text editor especially if you are not using gnome.

Now paste into this new blank file:

debug debug debug
nodetach
/dev/*the tty part we found earlier or what ever it was*
115200
connect "/usr/sbin/chat -f /etc/chatscripts/1xdun"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user *yournumber*@vzw3g.com
password vzw

Replacing the things inside of *'s and then save and close.

Next type: sudo gedit /etc/chatscripts/1xdun
Again replace gedit if you want/need.

And paste into the new file:

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
OK-AT-OK ATDT#777
CONNECT \d\c

Note that everything from ABORT until before SAY should be on one line, and then save and close.

Now you should be able to type: sudo pppd call 1xdun
If you open a second terminal and type: ifconfig ppp and then see something like:

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:70.193.249.184  P-t-P:66.174.201.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:105 errors:0 dropped:0 overruns:0 frame:0
          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:39774 (38.8 KB)  TX bytes:22668 (22.1 KB)

If you do then you should be golden and be able to surf. If not, post back here with the output after running the pppd call 1xdun command. Also I will try to help out with any questions and stuff relating to this as best I can, so feel free.

P.S.
Speed test from being on:

Your rating: None
spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hello from linux and dun

Posted:

cool, I'll have to check this out later when I get out of work. Not even tried DUN under Linux yet. Wonder how long it would take to run system updated through DUN?

EDIT: if we can get this working... we really ought to get that Linux forum up Styol!!

EDIT 2: Should be easy enough to create a launcher icon on the desktop so as not to have to issued the sudo pppd call 1xdun command every time. I'm not entirely sure if it would be necessary when doing with a launcher, but I do know it would work if you put the command as:

gksudo pppd call 1xdun

thereby giving the graphical password prompt rather than the command line password prompt.

__________________

ehh. whats up doc?

Fragger's picture
Fragger
The WWWizard

Verizon Wireless
Flashed: VZW to VIVO
VIVO 01.18.00R

Hello from linux and dun

Posted:

Yeah once it is all working, you could do that, it's just at first you wanna see the output.

You can also either use gpppon, or I even got it working with the network-admin in Ubuntu.

After I had put my initial settings in and tried to dial up and then found what the command it was running for ppp and modified the file by hand. So then I can just go in and check the modem in network-admin and it will dial up.

We will have to see what problems come up and then probably write a guide for it, would be nice if we could make a script at least that you could just run and it would set it all up for you. We will just have to see.

Fragger's picture
Fragger
The WWWizard

Verizon Wireless
Flashed: VZW to VIVO
VIVO 01.18.00R

Hello from linux and dun

Posted:

*bump* anyone actually use linux here? :(

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hello from linux and dun

Posted:

seems like Linux holds the minority here buddy. I've done some working on my PC and dual booted my XP Home with an XP Professional SP3 VLK I d/l from demonoid. Needed to get a bunch of stuff cleaned up, I'm gonna leave it that way for a little while until I am sure that this XP pro won't fizzle out on me. When I'm sure of that I'm gonna say goodbye to home edition and hello Ubuntu, new version will be out soon! (3 days from this post)

Mint was great for its default sound scheme and wallpaper and native DVD support, but it didn't let me use my compiz fusion settings on the intel driver like Ubuntu did. Seems odd though being that Mint is based on Ubuntu. Ah well, I had fun figuring out how to get DVD support on Ubuntu Gutsy. Wonder what new challenges the next version holds?

__________________

ehh. whats up doc?

notnarb
new member

Hello from linux and dun

Posted:

I followed your guide, and despite the output appearing perfectly fine, when trying to use firefox, instead of going to a site I wish to go to, it goes to a verizon subscription page asking me to sign up for the broadband service (I have EV-DO disabled) and won't allow me to go to any other site (https://dunsp.vzw.com/selfProvisioning/SelfProvisioningServlet). There's probably something I'm overlooking, but at the moment, I can't seem to find it. It wouldn't be connecting to the internet and displaying that webpage....

Running eeeXubuntu (a modified version of Xubuntu meant for the eeePC) on a laptop tethered to a V3m

Allow me to be the second to thank you for writing this guide, without it, I would have little chance of being able to get my laptop remotely close to becoming tethered.

edit: output:

Cen@Sored:~$ ifconfig ppp
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:75.212.182.15  P-t-P:66.174.208.5  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:54 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:55910 (54.5 KB)  TX bytes:4439 (4.3 KB)

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hello from linux and dun

Posted:

have you done the hack to edit the nvm_factory file? its not listed here, but there is a link or two around here in some of the other recent DUN related threads to a couple different methods to do it, depending on firmware version.

__________________

ehh. whats up doc?

notnarb
new member

Hello from linux and dun

Posted:

I deleted the dun portion of my username if that is what you mean. Changing the 18s to 14s and all that jazz. I used the delete key to get rid of the 'dun.' , should I have used something else? Could that be what's causing the problem?

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hello from linux and dun

Posted:

97316f3436="notnarb wrote:
I used the delete key to get rid of the 'dun.'

Bad move there, but interesting results. When you use the delete key or back space key, it throws the hex information out of whack, moving the information we want into the wrong position. I recommend retrieving the backup you made (you did make a backup right) and redo the hack.

The proper way to remove the unwanted characters "dun" is to switch over to the hex area and type 000000 over the hex characters that correspond to the three unwanted ASCII characters. Was that clear enough?

__________________

ehh. whats up doc?

pyde_pypper's picture
pyde_pypper
Macdaddy Pimp

Verizon Wireless
Verizon V9M RAZR2
Telus-V9m S/W TLSV94_01.1C.00r on VZW

Hello from linux and dun

Posted:

FYI you can also remove the dun info doing it via QPST if you want and not have to deal with the seem edit stuff. Here is a link that explain how to do so.

http://www.howardforums.com/showpost.php?p=7397555&postcount=1

__________________

Currently using the New Moto Krave ZN4
______________________________________________________
Support our troop and piss on the rat bastards in D.C.

spikejones's picture
spikejones
Dr. Jones

Verizon Wireless
Verizon V3M
NEWC_01.09.02

Hello from linux and dun

Posted:

hey, I just noticed Google put an Ubuntu Linux Toolbox add down there.
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV

__________________

ehh. whats up doc?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.