butonic.de Rotating Header Image

August, 2007:

Installing gforge on ubuntu feisty

1. install ubuntu server – no lamp
- mailman wants you to choose languages, “newlist mailman” and afterwards “/etc/init.d/mailman start”
- gforge-db-password wants you to choose a password for the database user
- gforge-mta-exim4 asks wether or not to modify /etc/aliases for you – answer yes
- gforge-shell-postgresql asks wether or not to modify /etc/nss-pgsql.conf – answer yes
- gforge-shell-postgresql asks wether or not to modify /etc/nsswitch.conf – answer yes
- proftpd: start as daemon
- postgresql-common: pg8.1 is deprecated … dunno just ok
- gforge-common has some unexpected operators in /etc/gforge/gforge.conf
- gforge-db-postgresql asks wether or not to modify /etc/postgresql/8.1/main//pg_hba.conf – answewr yes
- the database tables will be created for you
- gforge-web-apache asks wether or not to modify /etc/apache2/httpd.conf – answer yes
- gforge-mta-exim4 asks wether or not to modify /etc/exim4/exim4.conf.template for you – answer yes
- gforge-mta-exim4 asks wether or not to modify /etc/exim4/conf.d/main/01_exim-config_listmacrosdefs for you – answer yes
- gforge-shell-postgresql asks wether or not to modify /etc/pam_pgsql.conf – answer yes
- gforge-shell-postgresql asks wether or not to modify /etc/pam.d/common-account – answer yes
- gforge-shell-postgresql asks wether or not to modify /etc/pam.d/common-auth – answer yes
- gforge-ftp-proftp asks wether or not to modify /etc/proftpd/proftpd.conf – answer yes
the install will list errors for gforge-web-apache, gforge-plugin-scmsvn, gforge-lists-mailman, gforge
* “sudo newlist mailman”
* /sudo etc/init.d/mailman start

still the following problems:
/etc/apache2/httpd.conf is empty

much is broken

Using the o2 Laptop Card with Ubuntu

lsusb shows the card as:
Bus 007 Device 002: ID 0af0:6701 Option
and the Feisty kernel supports it out of the box.

Using umtsmon I can set the PIN and not worry about it anymore. However, I was unable to connect using the tool.

I had some difficulties with connectiong to the APN “surfo2″ so I’ll just post my working ppp scripts:

/etc/ppp/peers/o2s:

#device
/dev/ttyUSB0

# baud speed
460800

# log all packets to syslog
debug

#use hardware flow control
crtscts

#disable compression:
noccp
nobsdcomp
noaccomp
novj

# create a lock file for the serial device
lock

# we do not neet to authenticate ourselves?
noauth

# Disables the default behaviour when no local IP address is specified, which is to
# determine (if possible) the local IP address from the hostname. With this option, the
# peer will have to supply the local IP address during IPCP negotiation (unless it speci‐
# fied explicitly on the command line or in an options file).
noipdefault

noproxyarp

# add default route using the peer as the gateway
defaultroute

# ask the peer for up to 2 dns servers
usepeerdns

# use this for auth to the peer
user ”
password ”

# chatscript to use
connect “/usr/sbin/chat -v -f /etc/chatscripts/o2-surfo2″

# accept te peers ip adresses for both connection ends
ipcp-accept-remote
ipcp-accept-local

and /etc/chatscrips/o2-surfo2

'ABORT' "BUSY"
'ABORT' "ERROR"
'ABORT' "NO ANSWER"
'ABORT' "NO CARRIER"
'ABORT' "NO DIALTONE"
'ABORT' "Invalid Login"
'ABORT' "Login incorrect"
'TIMEOUT' '10'
'' 'ATZ'
'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0'
# this next line is extra for O2
'OK' 'AT+CGDCONT=1,"IP","surfo2"'
'TIMEOUT' '60'
'OK' 'ATDT*99***1#'
'CONNECT' ''
'TIMEOUT' '5'