Karl Fischer | 2 Sep 2010 09:01
Picon
Gravatar

Re: Dialup Utility?

On Wed, Sep 1, 2010 at 16:11, Arthur Koziol <A-Koziol@...> wrote:
> It might be my early onset but if I remember right I *think* there was
> something being worked on for KDE in some future version. I remember reading
> about it years ago so I don't know if it ever reached fruition. KPPP is the
> only thing close to a modem dialer that I could find:
> http://en.wikipedia.org/wiki/Kppp
>

I started digging around yesterday, all our company laptops have
builtin 3g and we all have external 3g dongles,
I need similar functionality, so here is some tutorials I found.

https://www.anywi.com/3g/wiki/PPPFor3GModems
https://www.anywi.com/3g/wiki/U3gDriver
http://forums.freebsd.org/showthread.php?t=12829

I honestly think people should try and port NetworkManger to FreeBSD
... it would be very beneficial for all.

Karl
Dru Lavigne | 6 Sep 2010 15:44
Picon
Favicon

Re: Dialup Utility?


> http://forums.freebsd.org/showthread.php?t=12829
>
> I honestly think people should try and port NetworkManger to FreeBSD
> ... it would be very beneficial for all.


It looks like adding http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.1.tar.bz2 and http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup to the base system would be useful for 3G users.

Kris, are there any plans to add more options to the PPP/PPPoE section of Systems Network Configuration for 9.0? We could get people from the forums to test additions to see if it helps them in their modem setup process.

Cheers,

Dru

_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
Kris Moore | 6 Sep 2010 15:49
Gravatar

Re: Dialup Utility?


On 09/06/2010 09:44, Dru Lavigne wrote:
> 
> 
>> http://forums.freebsd.org/showthread.php?t=12829
>>
>> I honestly think people should try and port NetworkManger to FreeBSD
>> ... it would be very beneficial for all.
> 
> 
> It looks like adding http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.1.tar.bz2
and http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup to the base system would be
useful for 3G users.
> 
> Kris, are there any plans to add more options to the PPP/PPPoE section of Systems Network Configuration
for 9.0? We could get people from the forums to test additions to see if it helps them in their modem setup process.
> 
> Cheers,
> 
> Dru
>

I could probably add those features to the GUI, I just will need some
specifics on what features to add, since I don't have a USB / tethering
modem to test with.

If you or others can give me the values configuration options you need
in the GUI, and where they need to be saved on the system, I can add
them pretty easily.

Also, that usbmodeswitch stuff, is that a port, or will it become a port
at some point?

--

-- 
Kris Moore
PC-BSD Software
iXsystems
Dru Lavigne | 6 Sep 2010 15:54
Picon
Favicon

Re: Dialup Utility?


> >> http://forums.freebsd.org/showthread.php?t=12829
> >>
> >> I honestly think people should try and port NetworkManger to FreeBSD
> >> ... it would be very beneficial for all.
> >
> >
> > It looks like adding http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.1.tar.bz2 and http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup to the base system would be useful for 3G users.
> >
> > Kris, are there any plans to add more options to the PPP/PPPoE section of Systems Network Configuration for 9.0? We could get people from the forums to test additions to see if it helps them in their modem setup process.
> >
> > Cheers,
> >
> > Dru
> >
>
> I could probably add those features to the GUI, I just will need some
> specifics on what features to add, since I don't have a USB / tethering
> modem to test with.
>
> If you or others can give me the values configuration options you need
> in the GUI, and where they need to be saved on the system, I can add
> them pretty easily.
>
> Also, that usbmodeswitch stuff, is that a port, or will it become a port
> at some point?

It's not currently a port.

I'll put a call out on the blog for testers and to see if anyone is willing to port.

Cheers,

Dru

_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
M. Warner Losh | 6 Sep 2010 16:14

Re: Dialup Utility?

In message: <BAY143-W6DDC6A730397B55C56326AC700@...>
            Dru Lavigne <drulavigne@...> writes:
: 
: 
: > >> http://forums.freebsd.org/showthread.php?t=12829
: > >>
: > >> I honestly think people should try and port NetworkManger to FreeBSD
: > >> ... it would be very beneficial for all.
: > > 
: > > 
: > > It looks like adding http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.1.tar.bz2
and http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup to the base system would be
useful for 3G users.
: > > 
: > > Kris, are there any plans to add more options to the PPP/PPPoE section of Systems Network Configuration
for 9.0? We could get people from the forums to test additions to see if it helps them in their modem setup process.
: > > 
: > > Cheers,
: > > 
: > > Dru
: > >
: > 
: > I could probably add those features to the GUI, I just will need some
: > specifics on what features to add, since I don't have a USB / tethering
: > modem to test with.
: > 
: > If you or others can give me the values configuration options you need
: > in the GUI, and where they need to be saved on the system, I can add
: > them pretty easily.
: > 
: > Also, that usbmodeswitch stuff, is that a port, or will it become a port
: > at some point?
: 
: It's not currently a port.
: 
: I'll put a call out on the blog for testers and to see if anyone is willing to port.

Does it need to be?  FreeBSD 8 doesn't need it, it seems.  It is a
hack to force the old usb stack to cope with the weirdness of having a
cdrom appear there...

Warner
Lars Engels | 11 Sep 2010 15:48

Re: Dialup Utility?

On Mon, Sep 06, 2010 at 08:14:58AM -0600, M. Warner Losh wrote:
> In message: <BAY143-W6DDC6A730397B55C56326AC700@...>
>             Dru Lavigne <drulavigne@...> writes:
> : 
> : 
> : > >> http://forums.freebsd.org/showthread.php?t=12829
> : > >>
> : > >> I honestly think people should try and port NetworkManger to FreeBSD
> : > >> ... it would be very beneficial for all.
> : > > 
> : > > 
> : > > It looks like adding
> http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.1.tar.bz2
> and http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup to
> the base system would be useful for 3G users.
> : > > 
> : > > Kris, are there any plans to add more options to the PPP/PPPoE
> section of Systems Network Configuration for 9.0? We could get people
> from the forums to test additions to see if it helps them in their
> modem setup process.
> : > > 
> : > > Cheers,
> : > > 
> : > > Dru
> : > >
> : > 
> : > I could probably add those features to the GUI, I just will need some
> : > specifics on what features to add, since I don't have a USB / tethering
> : > modem to test with.
> : > 
> : > If you or others can give me the values configuration options you need
> : > in the GUI, and where they need to be saved on the system, I can add
> : > them pretty easily.
> : > 
> : > Also, that usbmodeswitch stuff, is that a port, or will it become a port
> : > at some point?
> : 
> : It's not currently a port.
> : 
> : I'll put a call out on the blog for testers and to see if anyone is willing to port.
> 
> Does it need to be?  FreeBSD 8 doesn't need it, it seems.  It is a
> hack to force the old usb stack to cope with the weirdness of having a
> cdrom appear there...
> 

I know that Kris is already working on a GUI, but FWIW:

The tool Dru mentions is not needed. The functionality is included in
u3g(4).
To get the 3G modems connected, one needs the appropiate connection data
from his wireless provider. An exhaustive list of APNs, Usernames and
Passwords can be found here:
http://forums.pinstack.com/f24/tcp_apn_wap_gateway_port_carrier_settings-360/

Lars
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
M. Warner Losh | 6 Sep 2010 16:13

Re: Dialup Utility?

In message: <4C84F177.5020406@...>
            Kris Moore <kris@...> writes:
: -----BEGIN PGP SIGNED MESSAGE-----
: Hash: SHA1
: 
: On 09/06/2010 09:44, Dru Lavigne wrote:
: > 
: > 
: >> http://forums.freebsd.org/showthread.php?t=12829
: >>
: >> I honestly think people should try and port NetworkManger to FreeBSD
: >> ... it would be very beneficial for all.
: > 
: > 
: > It looks like adding http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.1.tar.bz2
and http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup to the base system would be
useful for 3G users.

I get file not found when I try to fetch these things...

: > Kris, are there any plans to add more options to the PPP/PPPoE section of Systems Network Configuration
for 9.0? We could get people from the forums to test additions to see if it helps them in their modem setup process.
: > 
: > Cheers,
: > 
: > Dru
: >
: 
: I could probably add those features to the GUI, I just will need some
: specifics on what features to add, since I don't have a USB / tethering
: modem to test with.

I have a 3G modem here I could test out.

: If you or others can give me the values configuration options you need
: in the GUI, and where they need to be saved on the system, I can add
: them pretty easily.
: 
: Also, that usbmodeswitch stuff, is that a port, or will it become a port
: at some point?

And is it really needed for FreeBSD 8?  I used to have to do crazy
things with my 3G modem since it appeared to the system as a CD ROM,
but hps fixed that in the 8.x and newer USB stack, so now it just
works on my stock FreeBSD system.  Since I can't look at usbswitcher,
it is hard to know which problem it is solving (although the thread
strongly suggests it is needed only for 7.x and earlier).  One bug I
am aware of here is that if you kldload u3g after you insert the u3g
stick it won't properly attach (this may have been fixed, but wasn't
the last time I tried it, back in Februrary).

It would be nice to be able to switch between different sources for
networking.  We'd likely have to write ppp.conf files like this one:

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set timeout 180                        # 3 minute idle timer (the default)
 enable dns                             # request DNS info (for resolv.conf)

tmobile:
 set phone "*99#"
 set line /dev/cuaU0.0
 set speed 460800
 set authname web
 set authkey web
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  \"\" AT OK-AT-OK ATQ0V1E1S0=0&C1&D2+FCLASS=0 OK \
  AT+CGDCONT=1,\\\"IP\\\",\\\"internet2.voicestream.com\\\" OK \\dATDT\\T \
  TIMEOUT 40 CONNECT"
 add default HISADDR                    # Add a (sticky) default route
 disable ipv6cp
 disable mppe
 disable vjcomp
 disable acfcomp
 disable deflate
 disable pred1
 disable protocomp
 disable lqr
 set ifaddr 10.11.12.1/0 10.11.12.2/0 255.255.255.0 0.0.0.0

The hard part here is that the different modem families have different
init strings.  The third line of the above is specific both to 3G
modems (the AT+CGDCONT=1,"IP", part of the command) as well as
specific to my country and carrier (the last bit:
"internet2.voicestream.com").  Also, the phone number varies between
carriers and technology used.  authname/authkey likely would also need
to be configurable.

When I setup my modem, the hardest part was finding line 3 above :)
In contrast, my old sprint modem was even easier:

sprint:
 set phone \#777
 set line /dev/cuaU0
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK \\dATD\\T TIMEOUT 40 CONNECT"
 add default HISADDR                    # Add a (sticky) default route

No magic needed, really....

Warner
Dru Lavigne | 6 Sep 2010 18:23
Picon
Favicon

Re: Dialup Utility?


> The hard part here is that the different modem families have different
> init strings. The third line of the above is specific both to 3G
> modems (the AT+CGDCONT=1,"IP", part of the command) as well as
> specific to my country and carrier (the last bit:
> "internet2.voicestream.com"). Also, the phone number varies between
> carriers and technology used. authname/authkey likely would also need
> to be configurable.
>
> When I setup my modem, the hardest part was finding line 3 above :)


How is the finding usually done? e.g. does the provider or the modem manufacturer usually include this info in their documentation or is the user required to try their luck with Google? Adding how to find the required info to this screen's help button would be useful. I notice some bugs in this screan and will start a separate thread on those.

Cheers,

Dru
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
M. Warner Losh | 6 Sep 2010 18:45

Re: Dialup Utility?

In message: <BAY143-W717348E66E4F2819FA704AC700@...>
            Dru Lavigne <drulavigne@...> writes:
: 
: 
: > The hard part here is that the different modem families have different
: > init strings.  The third line of the above is specific both to 3G
: > modems (the AT+CGDCONT=1,"IP", part of the command) as well as
: > specific to my country and carrier (the last bit:
: > "internet2.voicestream.com").  Also, the phone number varies between
: > carriers and technology used.  authname/authkey likely would also need
: > to be configurable.
: > 
: > When I setup my modem, the hardest part was finding line 3 above :)
: 
: 
: How is the finding usually done? e.g. does the provider or the modem
: manufacturer usually include this  info in their documentation or is
: the user required to try their  luck with Google? Adding how to find
: the required  info to this screen's  help button would  be useful. I
: notice some bugs in this screan  and will start a separate thread on
: those.

For me, it was trial and error.  There wasn't a table anywhere of
these things (I think called VAPs or something similar).  But I think
if we have the right terminology, we may save people lots of
Googling.  I could help out with some of that, at least for the
current generation of 3G cards.  Likely we'll need something different
with the 4G stuff, but we won't know that until we get the gear.

Warner
Arthur | 6 Sep 2010 20:06

Re: Dialup Utility?


>In message: <BAY143-W717348E66E4F2819FA704AC700@...>
>             Dru Lavigne <drulavigne@...> writes:
>:
>:
>: > The hard part here is that the different modem families have different
>: > init strings.  The third line of the above is specific both to 3G
>: > modems (the AT+CGDCONT=1,"IP", part of the command) as well as
>: > specific to my country and carrier (the last bit:
>: > "internet2.voicestream.com").  Also, the phone number varies between
>: > carriers and technology used.  authname/authkey likely would also need
>: > to be configurable.
>: >
>: > When I setup my modem, the hardest part was finding line 3 above :)
>:
>:
>: How is the finding usually done? e.g. does the provider or the modem
>: manufacturer usually include this  info in their documentation or is
>: the user required to try their  luck with Google? Adding how to find
>: the required  info to this screen's  help button would  be useful. I
>: notice some bugs in this screan  and will start a separate thread on
>: those.
>
>For me, it was trial and error.  There wasn't a table anywhere of
>these things (I think called VAPs or something similar).  But I think
>if we have the right terminology, we may save people lots of
>Googling.  I could help out with some of that, at least for the
>current generation of 3G cards.  Likely we'll need something different
>with the 4G stuff, but we won't know that until we get the gear.

There is a growing trend with 3G (and 4G) being an Internet option 
for folks in areas where this might be their only service (bundled or 
sole) or they access to the Internet either via tethering or via one 
of the USB stations that amplify the 3G /  4G signal. I think this is 
what places like Cricket and Clear are doing right now. AT&T has 
something like it think too. I don't regard it as a blip on the radar 
as Clear and Cricket have a HUGE presence here in Chicago and a lot 
of other big cities. Perhaps when Wi-Max or Wi-Max 2 become more 
prevalent, you'll see more industry support behind it but it might be 
good to be ahead of the curve or at least proactive with any 
solutions that are out there. Just food for though.

Arthur 
Wilbert Leeper | 6 Sep 2010 20:58
Favicon

Re: Dialup Utility?

You might want to start here.   http://bsd.vwsoft.com/3g/umts.php

But other than that try a google search 3g modem command sets. Looks to me like they just extended the old AT
command set to include commands for the 3g stuff.

On Sep 6, 2010, at 9:45 AM, M. Warner Losh wrote:

> In message: <BAY143-W717348E66E4F2819FA704AC700@...>
>            Dru Lavigne <drulavigne@...> writes:
> : 
> : 
> : > The hard part here is that the different modem families have different
> : > init strings.  The third line of the above is specific both to 3G
> : > modems (the AT+CGDCONT=1,"IP", part of the command) as well as
> : > specific to my country and carrier (the last bit:
> : > "internet2.voicestream.com").  Also, the phone number varies between
> : > carriers and technology used.  authname/authkey likely would also need
> : > to be configurable.
> : > 
> : > When I setup my modem, the hardest part was finding line 3 above :)
> : 
> : 
> : How is the finding usually done? e.g. does the provider or the modem
> : manufacturer usually include this  info in their documentation or is
> : the user required to try their  luck with Google? Adding how to find
> : the required  info to this screen's  help button would  be useful. I
> : notice some bugs in this screan  and will start a separate thread on
> : those.
> 
> For me, it was trial and error.  There wasn't a table anywhere of
> these things (I think called VAPs or something similar).  But I think
> if we have the right terminology, we may save people lots of
> Googling.  I could help out with some of that, at least for the
> current generation of 3G cards.  Likely we'll need something different
> with the 4G stuff, but we won't know that until we get the gear.
> 
> Warner
> _______________________________________________
> Testing mailing list
> Testing@...
> http://lists.pcbsd.org/mailman/listinfo/testing
M. Warner Losh | 6 Sep 2010 22:29

Re: Dialup Utility?

In message: <FF754228-C084-4993-AB4A-7682B8457270@...>
            Wilbert Leeper <protagonist@...> writes:
: You might want to start here.   http://bsd.vwsoft.com/3g/umts.php

That's a great site to start with.  it wasn't vap, but apn that I was
thinking of.  We can likely get apn values from the iphone community
that have produced carrier packs for the iphone for non-at&t
carriers.  These have the proper apns in them, and we might be able to
leverage that knowledge.

: But other than that try a google search 3g modem command sets. Looks
: to me like they just extended the old AT command set to include
: commands for the 3g stuff.

Yes, that's right.  It is a standard AT command set, with extensions.

Warner

: On Sep 6, 2010, at 9:45 AM, M. Warner Losh wrote:
: 
: > In message: <BAY143-W717348E66E4F2819FA704AC700@...>
: >            Dru Lavigne <drulavigne@...> writes:
: > : 
: > : 
: > : > The hard part here is that the different modem families have different
: > : > init strings.  The third line of the above is specific both to 3G
: > : > modems (the AT+CGDCONT=1,"IP", part of the command) as well as
: > : > specific to my country and carrier (the last bit:
: > : > "internet2.voicestream.com").  Also, the phone number varies between
: > : > carriers and technology used.  authname/authkey likely would also need
: > : > to be configurable.
: > : > 
: > : > When I setup my modem, the hardest part was finding line 3 above :)
: > : 
: > : 
: > : How is the finding usually done? e.g. does the provider or the modem
: > : manufacturer usually include this  info in their documentation or is
: > : the user required to try their  luck with Google? Adding how to find
: > : the required  info to this screen's  help button would  be useful. I
: > : notice some bugs in this screan  and will start a separate thread on
: > : those.
: > 
: > For me, it was trial and error.  There wasn't a table anywhere of
: > these things (I think called VAPs or something similar).  But I think
: > if we have the right terminology, we may save people lots of
: > Googling.  I could help out with some of that, at least for the
: > current generation of 3G cards.  Likely we'll need something different
: > with the 4G stuff, but we won't know that until we get the gear.
: > 
: > Warner
: > _______________________________________________
: > Testing mailing list
: > Testing@...
: > http://lists.pcbsd.org/mailman/listinfo/testing
: 
: _______________________________________________
: Testing mailing list
: Testing@...
: http://lists.pcbsd.org/mailman/listinfo/testing
: 
: 
Matt Olander | 7 Sep 2010 20:15
Favicon

Re: Dialup Utility?

On Mon, Sep 6, 2010 at 1:29 PM, M. Warner Losh <imp@...> wrote:
> In message: <FF754228-C084-4993-AB4A-7682B8457270@...>
>            Wilbert Leeper <protagonist@...> writes:
> : You might want to start here.   http://bsd.vwsoft.com/3g/umts.php
>
> That's a great site to start with.  it wasn't vap, but apn that I was
> thinking of.  We can likely get apn values from the iphone community
> that have produced carrier packs for the iphone for non-at&t
> carriers.  These have the proper apns in them, and we might be able to
> leverage that knowledge.
>
> : But other than that try a google search 3g modem command sets. Looks
> : to me like they just extended the old AT command set to include
> : commands for the 3g stuff.
>
> Yes, that's right.  It is a standard AT command set, with extensions.
>
> Warner
>
> : On Sep 6, 2010, at 9:45 AM, M. Warner Losh wrote:
> :
> : > In message: <BAY143-W717348E66E4F2819FA704AC700@...>
> : >            Dru Lavigne <drulavigne@...> writes:
> : > :
> : > :
> : > : > The hard part here is that the different modem families have different
> : > : > init strings.  The third line of the above is specific both to 3G
> : > : > modems (the AT+CGDCONT=1,"IP", part of the command) as well as
> : > : > specific to my country and carrier (the last bit:
> : > : > "internet2.voicestream.com").  Also, the phone number varies between
> : > : > carriers and technology used.  authname/authkey likely would also need
> : > : > to be configurable.
> : > : >
> : > : > When I setup my modem, the hardest part was finding line 3 above :)
> : > :
> : > :
> : > : How is the finding usually done? e.g. does the provider or the modem
> : > : manufacturer usually include this  info in their documentation or is
> : > : the user required to try their  luck with Google? Adding how to find
> : > : the required  info to this screen's  help button would  be useful. I
> : > : notice some bugs in this screan  and will start a separate thread on
> : > : those.
> : >
> : > For me, it was trial and error.  There wasn't a table anywhere of
> : > these things (I think called VAPs or something similar).  But I think
> : > if we have the right terminology, we may save people lots of
> : > Googling.  I could help out with some of that, at least for the
> : > current generation of 3G cards.  Likely we'll need something different
> : > with the 4G stuff, but we won't know that until we get the gear.

I'm meeting Kris at Ohio LinuxFest next weekend. I've got my FreeBSD
box and my Sprint 3G USB AirModem that works great on PC-BSD. I still
have to manually switch between 3G/wifi/wired and it's annoying not
having a status or signal strength but sitting on a bench at the park,
running PC-BSD while surfing the net? Priceless! I'll let him checkout
the setup :)

-matt

Gmane