on work…
January 15th, 2009
3 or 4 new projects ahead.
One of them will be CouchDB and Merb (no DataMapper, no ActiveRecord). The db schema is modeled by each user and upon criteria decisions.
All of them Git managed, as been doing for the last year.
Served by a Debian based Linux distro, coded under Debian, UNR (my lovely little netbook), and OSX, mainly in Ruby 1.8.7. Production server structure not defined yet but development phase will be Mongrel. May implement a very simple queuing system for a specific need.
Very likely use of AWS (not SimpleDB) for the sake of _simplicity_ .
Editor ? Vim.
None of this is of great interest for the project itself of course. I’ll be queuing 2 or 3 of them, in paralel with the main one. As in everything, time management is almost everything to GTD. Must. repeat. this. always.
dsoares said:
“Editor ? Vim.”
Because there are things we can never change
Good luck for those projects!
Boris said:
Hello,
My name is Boris Santander, I’m Chilean but living on Portugal. You doesn’t know me, but I read a repplica on twiter about you have already running ZTE Mf632 (TMN) modem under Intrepid Ibex. I Tried modiffing the /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi but I canno’t get the conection. can you give me some clues?
Thanks for your time and Trouble
pedro said:
@dsoares: thank you
Yes, like at PortoLinux meeting, I had to mention Vim. Btw, did you get your Mac fixed ?
pedro said:
@Boris, in Intrepid I got it working quite rapidly. It was just plug and play via NetworkManager. login ‘tmn’ and password ‘tmn’. Yet remember, the modem is PIN enabled by default. Did you remove it ? Try to check what the logs report:
$ sudo tail -f /var/log/syslog
Boris said:
Hello @Pedro, sorry about the response so late, but I was out of internet signal during almost a month… this is my report but i don’t know how to interpret it… i will be gratefull if you can give a hand with this
Feb 16 18:09:16 Nevermind avahi-daemon[4776]: Registering new address record for 192.168.1.105 on eth1.IPv4.
Feb 16 18:09:17 Nevermind NetworkManager: (eth1): device state change: 7 -> 8
Feb 16 18:09:17 Nevermind NetworkManager: (eth1): writing resolv.conf to /sbin/resolvconf
Feb 16 18:09:17 Nevermind NetworkManager: Policy set ‘Auto MuseuAP’ (eth1) as default for routing and DNS.
Feb 16 18:09:17 Nevermind NetworkManager: Activation (eth1) successful, device activated.
Feb 16 18:09:17 Nevermind NetworkManager: Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.
Feb 16 18:09:18 Nevermind ntpdate[8126]: adjust time server 91.189.94.4 offset -0.148194 sec
Feb 16 18:09:21 Nevermind kernel: [ 1554.376179] usb 4-1: new full speed USB device using uhci_hcd and address 4
Feb 16 18:09:22 Nevermind kernel: [ 1554.535039] usb 4-1: configuration #1 chosen from 1 choice
Feb 16 18:09:22 Nevermind kernel: [ 1554.538538] usb-storage: device ignored
Feb 16 18:09:46 Nevermind kernel: [ 1578.688168] usb 4-1: USB disconnect, address 4
Feb 16 18:09:47 Nevermind kernel: [ 1580.168168] usb 4-1: new full speed USB device using uhci_hcd and address 5
Feb 16 18:09:47 Nevermind kernel: [ 1580.328600] usb 4-1: configuration #1 chosen from 1 choice
Feb 16 18:09:47 Nevermind kernel: [ 1580.332280] option 4-1:1.0: GSM modem (1-port) converter detected
Feb 16 18:09:47 Nevermind kernel: [ 1580.333828] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
Feb 16 18:09:47 Nevermind kernel: [ 1580.338573] option 4-1:1.1: GSM modem (1-port) converter detected
Feb 16 18:09:47 Nevermind kernel: [ 1580.340050] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
Feb 16 18:09:47 Nevermind kernel: [ 1580.343471] option 4-1:1.2: GSM modem (1-port) converter detected
Feb 16 18:09:47 Nevermind kernel: [ 1580.345352] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
Feb 16 18:09:48 Nevermind nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/usb_device_19d2_1_noserial_if0_serial_usb_0, iface: (null)): iface not found
Feb 16 18:09:48 Nevermind NetworkManager: ttyUSB0: driver is ‘option’.
Feb 16 18:09:48 Nevermind NetworkManager: [1234807788.074525] setup_monitor_device(): No monitoring udi provided
Feb 16 18:09:48 Nevermind NetworkManager: Found new Modem device ‘ttyUSB0′.
Feb 16 18:09:48 Nevermind NetworkManager: (ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_19d2_1_noserial_if0_serial_usb_0
Feb 16 18:09:52 Nevermind NetworkManager: (ttyUSB0): device state change: 1 -> 2
Feb 16 18:09:52 Nevermind NetworkManager: (ttyUSB0): deactivating device (reason: 2).
Feb 16 18:09:52 Nevermind NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0′ failed
Feb 16 18:09:52 Nevermind NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0′ failed
Feb 16 18:09:52 Nevermind NetworkManager: (ttyUSB0): device state change: 2 -> 3
some clue?
Thanks in advice
pedro said:
you seem to have eth1 correctly connected with an IP address of 192.168.1.105
you then have a GSM modem detected and attached to ttyUSB0
the device_19d2_1 is detected.
It seems to be correctly switched from usb_storage to a usbserial device (because that is a ubs disk and a modem)
Do you have the modem PIN enabled ? Did you set the username and password correctly ?
Do you have any other line after the last one in /var/log/syslog ?
You can try this manually with 2 xterms:
first xterm:
$ tail -f /var/log/syslog
second xterm:
$ sudo rmmod usbserial
$ sudo modprobe usbserial vendor=0×19d2 product=0×0001
$ sudo /usr/sbin/pppd /dev/ttyUSB0 460800 persist noauth crtscts defaultroute usepeerdns debug user ‘tmn’ password ‘tmn’ connect ‘/usr/sbin/chat -v -f /etc/chatscripts/ppp0′
try with a simple script in /etc/chatscripts/ppp0:
ABORT ‘BUSY’
ABORT ‘NO CARRIER’
ABORT ‘ERROR’
‘’ AT
OK AT+CGATT=1
OK AT+CGDCONT=1,”IP”,”internet”
OK ATDT*99***1#