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
qdisable(8B)                                                            PBS                                                           qdisable(8B)

NAME
qdisable - disable input to a pbs destination SYNOPSIS
qdisable destination ... DESCRIPTION
The qdisable command directs that a destination should no longer accept batch jobs. If the command is accepted, the destination will no longer accept Queue Job requests which specified the disabled queue. Jobs which already reside in the queue will continue to be processed. This allows a queue to be "drained." In order to execute qdisable, the user must have PBS Operation or Manager privilege. OPERANDS
The qdisable command accepts one or more destination operands. The operands are one of three forms: queue @server queue@server If queue is specified, the request is to disable that queue at the default server. If the @server form is given, the request is to disable all the queues at that server. If a full destination identifier, queue@server, is given, the request is to disable the named queue at the named server. STANDARD ERROR
The qdisable command will write a diagnostic message to standard error for each error occurrence. EXIT STATUS
Upon successful processing of all the operands presented to the qdisable command, the exit status will be a value of zero. If the qdisable command fails to process any operand, the command exits with a value greater than zero. SEE ALSO
pbs_server(8B), qmgr(1B), and qenable(8B) Local qdisable(8B)
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy