"Linux costs the beginner some patience since you normally starting from the windows world, patience my friend, patience."
true to that man!!!!
hello to all again
i really need a newbie help!!!!!!!!!!
I really dont know which is which, if my script is wrong (but maybe its not cuz I followed the script above to the dot) or just maybe I cant detect my usb-3g.... I really cant tell.... First off, my usb is a Huawei E160,also im using Tiny Core 2.2 and my extensions are
mc.tce
mc-locale.tce
glib1.tcel
pppd.tcel
bash.tce
expat2.tcel
glib2.tcel
graphics-libs-1.tcel
libxml2.tcel
fontconfig.tcel
gtk2.tcel
atk.tcel
cairo.tcel
pango.tcel
pixman.tcel
libasound.tcel
dbus.tcel
dbus_glib.tcel
curl.tcel
openssl-0.9.8h.tcel
firefox.tce
openssl-0.9.8h-devs.tcz
openssl-0.9.8h.tczl
gcc.tczl
(just maybe im missing an important extensions)
1-> how would I know if It has detected my 3g-usb? Tried the
$modprobe usb_serial but it gives out an FATAL: Module usb_serial not found.
(dont also know if my command is right)
2-> when I run $sudo pppd -detach connect “chat -v -s -f /etc/ppp/pppscript” I really feel its connecting, im also not sure if it does hehehe
...... heres what it does=
tc@box:~$ sudo pppd -detach connect "chat -v -s -f /etc/ppp/pppscript"
timeout set to 10 seconds
abort on (ERROR)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
send (ATZ^M)
expect (OK)
TZ^M^M
OK
-- got it
send (ATE1V1&D2&C1S0=0^M)
expect (OK)
^M
ATE1V1&D2&C1S0=0^M^M
OK
-- got it
send (ATE1^M)
timeout set to 60 seconds
send (ATD*99#^M)
expect (CONNECT)
^M
ATE1^M^M
OK^M
ATD*99#^M^M
CONNECT
-- got it
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb04627bc> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <auth chap MD5> <magic 0xe89fa5> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x8 <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb04627bc> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xe89fa5> <pcomp> <accomp>]
sent [LCP ConfAck id=0x9 <asyncmap 0x0> <magic 0xe89fa5> <pcomp> <accomp>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> < ms-dns3 0.0.0.0>]
rcvd [LCP DiscReq id=0xa magic=0xe89fa5]
rcvd [LCP ProtRej id=0xb 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 1 0.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.1 3> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0x4]
sent [IPCP ConfNak id=0x4 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x2 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0x5]
sent [IPCP ConfAck id=0x5]
rcvd [IPCP ConfNak id=0x3 <addr 10.154.55.212> <ms-dns1 202.138.128.54> <ms-dns3 202.138.128.50>]
sent [IPCP ConfReq id=0x4 <addr 10.154.55.212> <ms-dns1 202.138.128.54> <ms-dns3 202.138.128.50>]
rcvd [IPCP ConfAck id=0x4 <addr 10.154.55.212> <ms-dns1 202.138.128.54> <ms-dns3 202.138.128.50>]
Could not determine remote IP address: defaulting to 10.64.64.64
local IP address 10.154.55.212
remote IP address 10.64.64.64
primary DNS address 202.138.128.54
secondary DNS address 202.138.128.50
Script /etc/ppp/ip-up started (pid 4720)
Script /etc/ppp/ip-up finished (pid 4720), status = 0xff
I press control+c (to end session)Terminating on signal 2
Connect time 1.1 minutes.
Sent 0 bytes, received 0 bytes.
Script /etc/ppp/ip-down started (pid 4724)
sent [LCP TermReq id=0x2 "User request"]
Script /etc/ppp/ip-down finished (pid 4724), status = 0x0
rcvd [LCP TermAck id=0x2]
Connection terminated.
tc@box:~$
and thats it, this is what it always does.....hope you could help me
More power to all you guys, im really enjoying this!!!!!!!!!!!!!!!!!!!!!!!