Integration of 3G Wireless Modem Detection - 4.1.2 & 4.2.1

A home for all kinds of Puppy related projects
Message
Author
kultex
Posts: 39
Joined: Sat 17 Nov 2007, 19:46

#301 Post by kultex »

rerwin,

perhaps you can put following links to your first post:

all the needed data can be found here:

Austria, Germany,Switzerland: http://linux.frankenberger.at/Huawei_E220_Daten.html

rest of the World:http://www.flexispy.com/Mobile%20APN%20 ... 20GPRS.htm

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#302 Post by Aitch »

Nice find kultex

.....seems to show the significance of my reported DNS numbers, too

see also

http://www.cyberciti.biz/tips/how-do-i- ... sktop.html

and dnsmasq/dns cache/useful info [though it's for *buntu so needs modifying for root puppy

http://embraceubuntu.com/2006/08/02/loc ... -browsing/

also here

http://paragasu.wordpress.com/2008/11/2 ... h-dnsmasq/

note:
Another interesting package that does the same thing is pdnsd. The best thing about pdnsd is, it saves the dns cache in disk which is still available even after you reboot.
worth considering?

HTH

Aitch :)

alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#303 Post by alix_board »

@rewin:
when i change the line #init8 and #init9 in wvdial.conf i have start the PupDial - modem dialup to connect to the internet. But the changed values was not saved in wvdial.conf!? Is it possible that this file will be overwrite after saving with it original values?

@kultex:
Here are the original values for APN A1:
http://www.a1.net/CDA/navigation/pp4_fr ... de,00.html

There are the same as you use!

alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#304 Post by alix_board »

So, now i have install opera - but i do not work :-( !

I think there are some network setting, which was changed by installing the pakets above -- is that possible?

Here is the message from ifconfig

Code: Select all

ppp0    Link encap:Point-to-Point Protocol
           inet addr:92.248.108.158  P-t-P:10.64.64.64   Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
           RX packets:7  errors:0  dropped:0  overruns:0  frame:0
           TX packets:8  errors:0  dropped:0  overruns:0  carrier:0
           collisions:0  txqueuelen:3
           RX bytes:118 (118.0 B)   TX bytes:157 (157.0 B)
The next problem is, that i can not ping for example google.at, i can only ping its IP adresse 216.239.59.104:

Image

So i think that a can connect to internet, because skype works! Maybe there are some problems with resolving the DNS?

alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

resolv.conf

#305 Post by alix_board »

Hi @ all,

no it works great!

I create resolv.conf with the DNS of A1 and saved it in /etc --> that was the conclusion :-) !

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#306 Post by Aitch »

Rich,

followed alix here :)

see warpinwolf's post

http://www.murga-linux.com/puppy/viewto ... 292#338292

apologies if you're already aware of this

Aitch :)

kultex
Posts: 39
Joined: Sat 17 Nov 2007, 19:46

#307 Post by kultex »

@alix_board,

strange - which puppy version did you take? - I tested all Austrian operators - except A1 (but with bob, who is using the same net as A1) with puppy, Huawei E220 and I had no problems with DNS - and I installed one laptop with fluxflux-sl and A1 and there also was no need for DNS entries.

alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

#308 Post by alix_board »

Hi kultex,

i use Puppy Version 4.2.1-k2.6.25.16 !

@ my DNS Problem: Before i install the 2 drivers 3G_pupdial-wireless-12.pet and usb_modeswitch-1.0.2.pet i don not have problems with DNS. But after that, i had also problems with normal Ethernet Connection to the Internet. So, after i have configure resolv.conf it works!

mcalex
Posts: 78
Joined: Sun 23 Apr 2006, 14:52
Location: Perth, WA

#309 Post by mcalex »

hiya richard, still lurking.

just tried to change /etc/wvdial.conf as you suggested to alix_board (ie uncommenting init8 and init9).

Like alix_board, I seem to have the problem where pupdial re-comments the lines before running, hence no output in the connection status log.

Am i editing the right file? is there a user-level wvdial.conf that has settings that overwrite the file in /etc?

apart from that, i'm still stuck, but then I haven't worked really hard at it. have been thinking a bit, and wondering if there is any chance it's coz i've got an athlon instead of an intel chip? that seems to be the cause of a few of my linux problems.

anyway, if you can let me know if i'm editing the correct wvdial.conf (or tell me why pupdial is recommenting) that'd be great.

<edit>
the things you find when you read. Just trawled through the user guide. looks like Virgin's apn is: virginbroadband (all lowercase). can't remember whether i've tried that, but will have a shot
-chap in /etc/ppp/options looks worth a shot too.
. . . <edit2>
. . . nope, and nope
. . . </edit2>
</edit>

cheers
mcalex

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#310 Post by rerwin »

mcalex, alix_board,
Regarding your difficulty in editing wvdial.conf and having it remain when pupdial runs: My design intent some time ago was for pupdial to allow users to edit the more exotic options into the file and for pupdial to keep them there and use them when connecting. But the constraint was to be that you edit the file only when pupdial is NOT running. While running, it rewrites the file. I thought I put in logic to read and rewrite the Init6-9 section as is -- however the user wants it.

I just now got around to trying that myself. But it not only destroys the data if entered when pupdial is running, but also if edited with pupdial not running. I will look into it tomorrow, to get it right for 4.3!

Thanks for prompting me to check it.
Richard

kultex
Posts: 39
Joined: Sat 17 Nov 2007, 19:46

#311 Post by kultex »

alix_board wrote: @ my DNS Problem: Before i install the 2 drivers 3G_pupdial-wireless-12.pet and usb_modeswitch-1.0.2.pet i don not have problems with DNS. But after that, i had also problems with normal Ethernet Connection to the Internet. So, after i have configure resolv.conf it works!
I think, that is not a problem with rerwins pets, it is a problem of puppy - it starts, as soon, as you open seamonkey, without having an internet connection - it is also happens, when you boot from CD, open seamonkey without connection to the net by lan - then connect - ifconfig tells you, you are connected, but in seamonkey no website opens....

mcalex
Posts: 78
Joined: Sun 23 Apr 2006, 14:52
Location: Perth, WA

working in 4.3 (4.2.4?)

#312 Post by mcalex »

hi rerwin,

can happily report that i can get (and am now) online using 3G_pupdial-wireless-12.pet and usb_modeswitch-1.0.2.pet in puppy 4.2.4 but only with pupdial working in stupid mode and after playing with config settings in seamonkey. woo-hoo!

only problem is, puppy can't seem to find my soundcard anymore :( i'm off searching for audio posts
<edit>
just noticed a post of yours at the beginning of the 4.3 beta2 bug thread which i'm trawling through. do you want my copy of the three files you requested there or have i missed that boat? I have a creative labs card that 4.21 found the emu10k (i think) driver for. in 4.2.4 alsa wants to probe ISA devices!
</edit>

great work, for some reason i've not managed to get online with linux (tried redhat, fedora, mandrake) or freebsd before, so this is a first for me. nearly au revoir windows!

cheers
mcalex

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Pupdial correction to retain edited wvdial.conf Init6-9

#313 Post by rerwin »

kultex,
Thanks for analyzing the DNS issue. Is the problem something you and I could work out a remedy for?

mcalex,
Glad to hear you resolved your connection issue.

And alix_board,
I have now fixed pupdial so you can edit the wvdial.conf Init6-9 lines and have them be retained by pupdial. The patch is in the 4.3beta2 Bugs thread here: http://www.murga-linux.com/puppy/viewto ... 321#340321
I am also updating 3G_pupdial...-12 with it, for new downloaders.
Richard

kultex
Posts: 39
Joined: Sat 17 Nov 2007, 19:46

#314 Post by kultex »

the very quick remedy is I think the resolv.conf - the rest has to wait in my case until the end of October, because until 20.10 I am absolutely occupied with work and just can do very little things.....sorry

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#315 Post by 01micko »

wow!

Thankyou Richard and Barry. Online via my huwei (I'll never spell that right) e169 over VirginBroadband Au running 4.3 beta 3. (Did that -chap thing in /etc/ppp/options). Took only seconds. On the eee pc 701sd with a sd card installed via BootFlash usb installer.

If you need logs let me know, I spose good logs are as helpful as bad logs :)

Cheers and thanks.
Puppy Linux Blog - contact me for access

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#316 Post by rerwin »

01micko,
Thanks for your positive report on a device that was tricky to get going. Although my first thought was that I did not need them, since you succeeded, but I would like to see how it all worked, because of that trickiness. Thanks for offering.

kultex: Thanks for that gem of a chart, and the details for part of Europe. I have added a pointer to your posting from a new item 7 in the main page.
Richard

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#317 Post by 01micko »

hello Richard

here is what I did (much the same as previous)

-Modem was detected at boot and recognised as /dev/ttyUSB0
-Carrier check, Dialtone check, Busy check All unchecked
-Stupid mode, Auto Reconnect Both checked
-left Initialisation strings and Max speed alone
-I have no SIM PIN, so left it blank
-inserted ISP phone number *99#
-my username
-left password but I think any old thing should be there
-Inserted Wireless APN "VirginBroadband" (without quotes)
-added "-chap" option to /etc/ppp/options

Here's /tmp/pup_event_module_devpath_log

Code: Select all

MODULE=processor DEVPATH=/devices/LNXSYSTM:00/ACPI_CPU:00
MODULE=ac DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/ACPI0003:00
MODULE=button DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00
MODULE=eeepc_laptop DEVPATH=/devices/LNXSYSTM:00/device:00/ASUS010:00
MODULE=evdev DEVPATH=/devices/virtual/input/input6
MODULE=thermal DEVPATH=/devices/LNXSYSTM:00/LNXTHERM:00
MODULE=battery DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/PNP0C0A:00
MODULE=video DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:16
MODULE=intel_agp DEVPATH=/devices/pci0000:00/0000:00:00.0
MODULE=shpchp DEVPATH=/devices/pci0000:00/0000:00:1c.0
MODULE=snd_hda_intel DEVPATH=/devices/pci0000:00/0000:00:1b.0
MODULE=shpchp DEVPATH=/devices/pci0000:00/0000:00:1c.1
MODULE=shpchp DEVPATH=/devices/pci0000:00/0000:00:1c.2
MODULE=uhci_hcd DEVPATH=/devices/pci0000:00/0000:00:1d.0
MODULE=uhci_hcd DEVPATH=/devices/pci0000:00/0000:00:1d.1
MODULE=uhci_hcd DEVPATH=/devices/pci0000:00/0000:00:1d.2
MODULE=uhci_hcd DEVPATH=/devices/pci0000:00/0000:00:1d.3
MODULE=ehci_hcd DEVPATH=/devices/pci0000:00/0000:00:1d.7
MODULE=i2c_i801 DEVPATH=/devices/pci0000:00/0000:00:1f.3
MODULE=atl1e DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:03:00.0
MODULE=pcspkr DEVPATH=/devices/platform/pcspkr
MODULE=serio_raw DEVPATH=/devices/platform/i8042/serio0
MODULE=serio_raw DEVPATH=/devices/platform/i8042/serio1
MODULE=usbcore DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0
MODULE=usb_storage DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0
MODULE=option DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0
MODULE=option DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.1
MODULE=option DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.2
/tmp/udevtrace-modem.log

Code: Select all

usb_v1d6b_p0002_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 ehci_hcd_EHCI Host Controller_
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
usb_v058f_p6335_d0105_dc00_ic08_usb_interface_Generic_Mass Storage Device_
usb_v12d1_p1001_d0000_dc00_ic08_usb_interface_____________________HUAWEI Mobile_
module_usbserial
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
module_option
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
usb_v12d1_p1001_d0000_dc00_icff_usb_interface_____________________HUAWEI Mobile_
usb_v12d1_p1001_d0000_dc00_icff_usb_interface_____________________HUAWEI Mobile_
usb_v12d1_p1001_d0000_dc00_icff_usb_interface_____________________HUAWEI Mobile_
usb_v1d6b_p0002_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 ehci_hcd_EHCI Host Controller_
usb_v058f_p6335_d0105_dc00_ic08_usb_interface_Generic_Mass Storage Device_
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
usb_v12d1_p1001_d0000_dc00_icff_usb_interface_____________________HUAWEI Mobile_
usb_v12d1_p1001_d0000_dc00_icff_usb_interface_____________________HUAWEI Mobile_
usb_v12d1_p1001_d0000_dc00_icff_usb_interface_____________________HUAWEI Mobile_
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
usb_v12d1_p1001_d0000_dc00_ic08_usb_interface_____________________HUAWEI Mobile_
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
usb_v1d6b_p0001_d0206_dc09_ic09_usb_interface_Linux 2.6.30.5 uhci_hcd_UHCI Host Controller_
Other logs as attached

Thanks :)

Mick
Attachments
logs.tar.gz
(3.14 KiB) Downloaded 561 times
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#318 Post by 01micko »

Hello again Richard

Working great on my main box too in 4.3 8) . Just as well too because I've blown my download limit for the month... still 10 days to go!

Two minor niggles.

1. I always check 'stupid mode' but pupdial does not remember my choice. Is that possible to implement?

2. I definitely need the '-chap' option in /etc/ppp/options (just inadvertantly tried without it :lol: ) or else the modem will not negotiate a connection. I recall you said you might try to squeeze that checkbox in the pupdial gui.

Are there other ISPees needing that option?

Cheers

Mick
Puppy Linux Blog - contact me for access

alix_board
Posts: 64
Joined: Fri 14 Aug 2009, 06:35
Location: Austria

Re: Pupdial correction to retain edited wvdial.conf Init6-9

#319 Post by alix_board »

rerwin wrote:kultex,
And alix_board,
I have now fixed pupdial so you can edit the wvdial.conf Init6-9 lines and have them be retained by pupdial. The patch is in the 4.3beta2 Bugs thread here: http://www.murga-linux.com/puppy/viewto ... 321#340321
I am also updating 3G_pupdial...-12 with it, for new downloaders.
Richard
Allright! Now i am back from holiday and i will try the new one a soon as possible!

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#320 Post by rerwin »

01micko,
Thanks for reporting that the Stupid Mode setting is not retained. I will try to have it fixed for 4.3.1. Regarding "-chap", I have not seen any report of it being needed elsewhere. But I would like to request that Barry add a line: "#-chap" to the /etc/ppp/options file, to make it simpler for users (or pupdial) to edit.

I am not ruling out building such an option into pupdial, but I want to hear of more such options being required, so I can implement a comprehensive "fine-tuning" technique.

UPDATE 10/4/09: I withdraw my request to Barry, above in this posting, to edit the /etc/ppp/options file. I have implemented the "fine tuning" technique, so the edit is not desired. The implementation accomplishes the solution in a different way. See the posting in the 4.3 Bugs thread.
Richard
Last edited by rerwin on Sun 04 Oct 2009, 16:05, edited 1 time in total.

Post Reply