Maroxe, please post system output using [code] tags, see http://forums.freebsd.org/showthread.php?t=8816
maroxe said:Good news!
I am already running 8-Stable, what should i do now?
ls /dev/
acd0
acpi
ad0
ad0s1
ad0s2
ad0s2a
ad0s2b
ad0s2d
ad0s2e
ad0s2f
agpgart
ata
atkbd0
audit
bpf
bpf0
bpsm0
cd0
console
consolectl
ctty
da0
dcons
devctl
devstat
dgdb
fd
fido
geom.ctl
io
kbd0
kbd1
kbdmux0
klog
kmem
log
mdctl
mem
msdosfs
nfslock
null
pass0
pass1
pci
psm0
ptmx
random
stderr
stdin
stdout
sysmouse
ttyv0
ttyv1
ttyv2
ttyv3
ttyv4
ttyv5
ttyv6
ttyv7
ttyv8
ttyv9
ttyva
ttyvb
ttyvc
ttyvd
ttyve
ttyvf
ufsid
ugen0.1
ugen0.2
ugen1.1
ugen2.1
ugen3.1
ugen3.2
ugen4.1
ugen5.1
ugen5.2
ugen5.3
urandom
usb
usbctl
xpt0
zero
ucom is already loadedwblock said:Hmm. Looks like ucom isn't part of GENERIC. So kldload it:
# kldload ucom
After loading it, replug the Huawei and look for /dev/cuaU0.
# uname -a
# kldload u3g
# kldstat
# tail /var/log/messages
# ls /dev/cuaU*
# ls /dev/ttyU*
#uname -a
FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
#kldload u3g
kernel: module_register: module uhub/u3g already exists!
kernel: Module uhub/u3g failed to register: 17
#kldstat
Id Refs Address Size Name
1 1 0xc0400000 b6dfe0 kernel
#tail /var/log/messages
Jul 17 04:51:26 kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
Jul 17 04:51:26 kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Jul 17 04:51:26 kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
Jul 17 04:51:26 kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0
Jul 17 04:51:26 kernel: (probe0:umass-sim0:0:0:0): Medium not present
Jul 17 04:51:26 kernel: (probe0:umass-sim0:0:0:0): Unretryable error
Jul 17 04:51:26 kernel: cd0 at umass-sim0 bus 0 target 0 lun 0
Jul 17 04:51:26 kernel: cd0: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-0 device
Jul 17 04:51:26 kernel: cd0: 1.000MB/s transfers
Jul 17 04:51:26 kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
#ls /dev/cuaU*
ls: No match.
#ls /dev/ttyU*
ls: No match.
maroxe said:here you are:
Code:#uname -a FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
I'm sorry, knew I should have asked that earlier. You have 8-stable from Nov 21, 2009. The support for the Huawei E1752 (0x1446) wasn't added until April of 2010.
So update to the latest 8-stable. Here's a short form; if you have questions, probably should start a new thread on that:
*default release=cvs tag=RELENG_8 in your stable-supfile
# csup stable-supfile
# rm -rf /usr/obj
# cd /usr/src
# make buildworld
# make kernel
# reboot
# cd /usr/src
# make installworld
# mergemaster -Ui
# reboot
maroxe said:I think getting the FreeBSD 8.1-RC2 is the best option for now.
Is it stable enough to be used for every day use until it get upgraded to a RELEASE version?
maroxe said:I've just installed the RC2, i have now the cua-thing:
Code:/dev/cuaU0.0 /dev/cuaU0.0.init /dev/cuaU0.0.lock /dev/cuaU0.1 /dev/cuaU0.1.init /dev/cuaU0.1.lock /dev/cuaU0.2 /dev/cuaU0.2.init /dev/cuaU0.2.lock
u3g:
set device /dev/cuaU0.0
set speed 115200
# if the stick/the network fail to provide an IP unless you suggest one, the
# following line might help
#set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
# name of the APN
set phone "internet"
# username and password are often unnecessary, but almost always generic
set authname internet
set authkey internet
set log local phase ipcp
set dial "ABORT BUSY TIMEOUT 2 \
\"\" \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"\T\\\" OK \
AT+CGACT? OK-AT-OK \
AT+CGATT? OK \
AT+CGCLASS? OK \
AT+COPS? OK \
ATD*99***1# CONNECT"
set crtscts on
# enable or disable updating /etc/resolv.conf with nameservers from the peer
disable dns
# add default route through this connection
add default HISADDR
ppp --dial u3g
Jul 17 18:45:22 ppp[991]: Phase: Using interface: tun0
Jul 17 18:45:22 ppp[991]: Phase: deflink: Created in closed state
Jul 17 18:45:22 ppp[993]: Phase: PPP Started (ddial mode).
Jul 17 18:45:22 ppp[993]: Phase: bundle: Establish
Jul 17 18:45:22 ppp[993]: Phase: deflink: closed -> opening
Jul 17 18:45:22 ppp[993]: Phase: deflink: Connected!
Jul 17 18:45:22 ppp[993]: Phase: deflink: opening -> dial
Jul 17 18:45:24 ppp[993]: Warning: Chat script failed
Jul 17 18:45:24 ppp[993]: Phase: deflink: dial -> hangup
Jul 17 18:45:24 ppp[993]: Phase: deflink: Disconnected!
Jul 17 18:45:24 ppp[993]: Phase: deflink: Connect time: 2 secs: 0 octets in, 0 octets out
Jul 17 18:45:24 ppp[993]: Phase: deflink: 0 packets in, 0 packets out
Jul 17 18:45:24 ppp[993]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jul 17 18:45:22 2010
Jul 17 18:45:24 ppp[993]: Phase: deflink: hangup -> opening
Jul 17 18:45:24 ppp[993]: Phase: deflink: Enter pause (30) for redialing.
Jul 17 18:45:54 ppp[993]: Phase: deflink: Connected!
Jul 17 18:45:54 ppp[993]: Phase: deflink: opening -> dial
Jul 17 18:46:28 login: ROOT LOGIN (root) ON ttyv1
Jul 17 18:46:28 ppp[993]: Warning: Chat script failed
msk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8010a<TXCSUM,VLAN_MTU,TSO4,LINKSTATE>
ether 18:a9:05:d3:c9:30
media: Ethernet autoselect
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
Opened by PID 993
maroxe said:I DID IT!!!!!!!!!!!!!!!!!!!
FINALLY, IT WORKED!!!!!!!!!!!!!
As soon as i install xorg and all the stuff, i'll get you know how from BSD.
i don't know how to thank you, especially wblock.
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
wana:
set device /dev/cuaU0.0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180
enable dns
set phone \#777
set authname inwi
set authkey inwi
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR