Sponsored Content
Full Discussion: FreeBSD 8.2 Huawei E1750 ppp
Operating Systems BSD FreeBSD 8.2 Huawei E1750 ppp Post 302608181 by cmilos on Friday 16th of March 2012 10:57:57 AM
Old 03-16-2012
Bug FreeBSD 8.2 Huawei E1750 ppp

Hi guys

My DSL went down this morning and I needed internet to work. I searched for a config all over but couldn't find exactly what I wanted. After a bit I got mine working fine so I thought I'd post this to help anyone else out there.

I am using a Huawei E1750 on T-Mobile UK running FreeBSD 8.2 amd64. I'm guessing i386 would work the same.

Things to change for others may be device, authname, authkey and the APN which in my case is general.t-mobile.uk

The post which helped me the most was from Greg Lehey that I can't put up since I have not made 5 posts yet Smilie

First thing to do of course is: 'kldload u3g' and then plug in the modem.

Code:
default:
 set log local Phase Chat LCP IPCP CCP tun hdlc command
 ident user-ppp VERSION
tmo:
 set speed 921600
 set device /dev/cuaU3.0
 set timeout 0
 set authname "t-mobile"
 set authkey "tm"
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
        \"\" \
        AT OK-AT-OK \
        AT+CFUN=1 OK-AT-OK \
        AT+CMEE=2 OK-AT-OK \
        AT+CGDCONT=1,\\\"IP\\\",\\\"general.t-mobile.uk\\\" OK \
        AT+CGACT? OK-AT-OK \
        AT+CGATT? OK \
        AT+CGCLASS? OK \
        AT+COPS? OK \
        \\dATD*99# TIMEOUT 40 CONNECT"
 set crtscts on 
 disable vjcomp 
 disable acfcomp 
 disable deflate 
 disable deflate24 
 disable pred1 
 disable protocomp 
 disable mppe 
 disable ipv6cp 
 disable lqr 
 disable echo 
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0


Last edited by Corona688; 03-16-2012 at 02:53 PM.. Reason: code tags for code, please.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PPP in netcfg

Hi! I'm using RedHat 7.1 and I have some prolems with connecting with ppp. I have run modemtool and told that I'm using ttyS0. Whe I then try to set up a PPP connection using netcfg the PPP option is not there. I have all the other alternativs except PPP. What have I missed? (6 Replies)
Discussion started by: <Therapy>
6 Replies

2. IP Networking

PPP Network through TCP/IP

I have two unix systems. One is Redhat Linux and the other is Sun Solairs. I am runing PPP on my Linux machine but not on my Solaris machine. TCP/IP connects the two machines. I want to pick up PPP on both machines simultaneously with only one dial up connection on my linux machine. ... (4 Replies)
Discussion started by: Photon_Blast
4 Replies

3. IP Networking

How to get Caller Id in PPP

hello I am workin with PPP to send data from dos machine to unix & Linux machine using FTP with help of fax & voice modem(Caller id Enabled & Exchange provides facility). i need to identify phone(number) connect with Dos machine i.e. to identify from where data is send. so i want to get the... (0 Replies)
Discussion started by: yspl
0 Replies

4. IP Networking

CCP In PPP

Hi, I am using linux-2.6.10 mandrake. In which i am establishing PPP sessions with the peer.During the PPP negotiations i negotiate even CCP-deflate compression option. I just wanted to know the amount of memory which is being used in kernel space by the compression algorithms,when a ccp... (0 Replies)
Discussion started by: sriram.ec
0 Replies

5. Solaris

install PPP on Solaris 9

Background: I have been running Solaris 8 on an Ultra5 with 128MB and 4GB disk for years without upgrade. If it ain’t broke, don’t fix it. Now my ISP has upgraded their software, and no longer talks to my old (asppp!) software. Sun no longer ships newer versions of Solaris 8. So I bought Solaris... (1 Reply)
Discussion started by: sandee
1 Replies

6. Shell Programming and Scripting

Help with dial-up to multiple ppp servers

Hello all, I am trying to establish two ppp connections using chap authentication over dial-up. I am using the generic connect scripts and can connect to the first server but when I try to connect the second while the first one is connected there is a chat timeout that occurs. Any... (6 Replies)
Discussion started by: LAVco
6 Replies

7. Shell Programming and Scripting

SLIP/PPP questions

Hello all.. I need to script SLIP dial-up connections and wanted ask others about the following; - does pppd support SLIP (noticed some releases do and some don't) - if pppd doesn't support SLIP can bash variables be passed to a dip script (e.g. phone-number, ip-address) - or is another... (0 Replies)
Discussion started by: LAVco
0 Replies

8. UNIX for Dummies Questions & Answers

FreeBSD 8.2 Huawei ppp.conf

Hey guys! I'm not an english native-speaker, so, excuse me please, if my English isn't the best. And I'm also not sure if I'm in the right forum. I'm Newbie so i postet it here. So if this post is in the wrong category, i bet you to bring it in the correct one (may in the... (1 Reply)
Discussion started by: usuallinuser
1 Replies

9. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

10. UNIX for Beginners Questions & Answers

No SMS notifications once ppp up

Hi all, I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network. I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get : root@iot2000:~# dmesg | grep USB ACPI:... (0 Replies)
Discussion started by: antc
0 Replies
PPP(4)							   BSD Kernel Interfaces Manual 						    PPP(4)

NAME
ppp -- point to point protocol network interface SYNOPSIS
options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER pseudo-device ppp DESCRIPTION
The ppp interface allows serial lines to be used as network interfaces using the Point-to-Point Protocol (PPP). The ppp interface can use various types of compression and has many features over the SLIP protocol used by the sl(4) interface. Supported options are: options PPP_BSDCOMP Enable support for BSD-compress (`bsdcomp') compression in ppp. options PPP_DEFLATE Enable support for deflate compression in ppp. options PPP_FILTER This option turns on pcap(3) based filtering for ppp connections. This option is used by pppd(8) which needs to be compiled with PPP_FILTER defined (the current default). DIAGNOSTICS
ppp%d: af%d not supported . The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped. SEE ALSO
inet(4), intro(4), sl(4), pppd(8), pppstats(8) The Point-to-Point Protocol (PPP), RFC 1661, July 1994. HISTORY
The ppp device appeared in NetBSD 1.0. BUGS
Currently, only the ip(4) and ip6(4) protocols are supported. BSD
January 10, 2005 BSD
All times are GMT -4. The time now is 01:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy