Re: FreeBSD 9 on Lenovo X200 what works?

2012-01-26 Thread Kaya Saman

On 01/26/2012 01:57 AM, Da Rock wrote:
Despite having similar hardware, you're only real best bet is to suck 
it and see. Try installing and seeing what you can get to work 
(dmesg, pciconf -lv, usbconfig, kldload modules, questions here, etc).


I've had mixed success with laptops (they're just about all I have as 
a desktop), and about my only problems have been with wifi- though 
that has mostly disappeared with Adrian's excellent work. 


I will have a go as Salix (which is on there now isn't cutting it and 
spent all night trying to get things in order but didn't :(


Tested the live FBSD9 disk in the meantime and the wireless gets 
detected out of the box. As long as I get wifi and HD video and sound 
coming out of the headphone socket I will be fine


I'm running 8.2 on an X200.  For the most part everything works.  My
main complaint is that the sound is very quiet, and I haven't found
the setting to fix that.

Video and wifi work fine.  The kernel sees the camera and the thumb
reader but I haven't looked for applications that use them.


Ok this sounds promising - for wifi see above!


App for camera is Googletalk if supported on Firefox 9, and PAM for the 
figureprint reader. Just thinkin about WWAN now but there was a post 
floating around about 3G modems so I might just be in luck not that 
I've ever used WiMax before.



Thanks for the replies guys :-)


Regards,


Kaya
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 ICH8M trouble, no HDD found, unable to install.

2012-01-26 Thread Michael Powell
Jasper Valentijn wrote:

 L.S.,
 
 I'm not able to install FreeBSD on a Sony Vaio vgn-cr31s. The problem
 seems to be related to PR kern/153440,
 http://www.freebsd.org/cgi/query-pr.cgi?pr=153440cat=.
 
 The FreeBSD-9.0-RELEASE-i386-memstick.img was used to try the
 install and extraction of the information below, verbose dmesg output
 and pciconf output.
 
 Does anybody have a workaround for this problem?
 
 If I could/should provide more information, just ask.
 

I do not have this hardware, so these are just a couple of wild guessses 
from the blue on my part.  I am also looking only at 64 bit platforms here, 
so if there is any signifigant difference with 32 bit I can't look/see.

First, you might try using the 2 option on the boot menu and then 'load 
acpi_sony' followed by 'boot'. If this works, then you are indeed fortunate. 
If this is the case, at the end of the install when it gives you the chance 
to edit files put acpi_sony_load=YES in /boot/loader.conf prior to 
rebooting.

Second has to do with AHCI support, and I'm a little fuzzy here. IIRC Intel 
began AHCI support with the ICH6 chip. With the advent of FreeBSD 9 the 
underlying mechanism has changed to the new ATA_CAM layer, with ahci support 
a default. Check your BIOS (if possible) to see what options are available. 
You may try disabling AHCI by switching to Legacy IDE mode and see what 
changes. If it works when you do this it confirms this to be where the 
problem lies. Also ensure you are not using any BIOS config for AHCI+RAID.

Now you don't really want to run a modern day box without AHCI as you lose 
things like NCQ resulting in performance loss. Especially for SSDs as they 
demand it.  You may be able to play around a little using the loader (press 
2) to set and unset various variables. For example, hint.ahci.X.msi=0 
would turn off MSI support. As far as specific settings for controlling 
ATA_CAM and/or other AHCI support I'm fuzzy on this. Perhaps if you reach 
this point someone more knowlegable can chime in. But if you were to find a 
sysctl that made it magically work with AHCI you could put it in loader.conf 
to make it permanent.

As far as what I can tell from the PR you mentioned, if you saw the exact 
same behavior after having installed FBSD 8.1 and then subsquently trying to 
upgrade to 8.2 it would nail it to matching the PR. Sometimes there are 
hardware identifiers like PCI ID's that just need to be added to source for 
some minor offshoot/revision chip to be recognized properly. If you got down 
to this by process of elimination you would probably at that point want to 
work with a developer (someone much smarter than me) to get support added. 
If this were to become the case this is desirable as it would remove the 
problem for anyone else coming along later.

Hope this helps any, as it's just basically just a couple of wild guesses to 
maybe get you started.  

-Mike






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: UPDATING 20120116 -- x11/xcb-util -- instructions not working

2012-01-26 Thread Michael Powell
Conrad J. Sabatier wrote:

 On Wed, 25 Jan 2012 08:53:39 -0600
 Mark Felder f...@feld.me wrote:
 
 For the life of me I can't work around this xcb-util issue. This is
 a pretty fresh install and I have not made any workaround symlinks.
 
 I ran:
 
 # portmaster -R -r xcb-util-0
 
 And the problem persists. It didn't even complete all the packages
 because some were still erroring on missing xcb libraries.
 
 Example, editors/mousepad:
 
 
 libtool: link: cannot find the library `/usr/local/lib/libxcb-aux.la'
 or unhandled argument `/usr/local/lib/libxcb-aux.la'
 gmake[2]: *** [mousepad] Error 1
 
 I'm getting this same error in several ports.  Just exactly which
 package is supposed to be providing libxcb-aux.la?  And why isn't it?
 

I'm not exactly certain about this, and so am probably wrong. I thought the 
'*.la' files were 'linker archives' created by libtool. But I never really 
got completely through the process of fully understanding exactly how all 
the autotools, make and gmake, and libtool operate.

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: T2000 Sparc FreeBSD8.2 installation failed

2012-01-26 Thread Anonymous
 At this stage, your options appear to be: illumos/OpenIndiana

Not being developed on SPARC

 Linux,

AFAIK Gentoo, Funtoo, Debian are the only supporting distros and you will
need to check if sun4v and your machine are supported

 NetBSD

Not recommended, sorry to say

 or OpenBSD.

Highly recommended.

 Note that I've not tried any of these.

OpenBSD seems to work brilliantly on my sun4u machines, not sure how much of
the sun4v are supported but you can ask on the sparc64 list openbsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portability of shell scripts from other *nixes

2012-01-26 Thread Jerry
On Wed, 25 Jan 2012 16:08:07 -0600
Doug Poland articulated:

 Hello,
 
 I'm trying port some shell scripts to FreeBSD that were originally
 written on Darwin (OS X).
 
 The issue I'm having is the shebang line of the scripts in OS X is
 #!/bin/sh, and it turns out that is really an instance of bash, and
 the code contains some bashisms.  On FreeBSD I have bash in
 /usr/local/bin/bash.
 
 Is there an easy/best way to have a single shebang that works on
 both OS's?  I'd rather not change FreeBSD's bourne shell to bash with
 any symlinking of /usr/local/bin/bash to /bin/sh.

I have written several scripts for use on different OSs, all written in
Bash since that is my preferred scripting language, and have used this
as the shebang quite effectively:

#!/usr/bin/env bash

By the way, what version of Bash? If it is v4.x there are many
improvements that do not work on older v3.x and v2.x versions. 

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
Religion is the anthropomorphization of reality, that behind it all
there's an invisible man pulling invisible strings
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Old Bug or not?

2012-01-26 Thread Jerry
There seems to be an old BUG,
http://osdir.com/ml/freebsd-bugs/2006-04/msg00309.html
that has recently been noted on the Postfix forums.

Was this bug ever actually addressed? In other words, is this an
actual bug or is it working as intended? If it is a bug, and since
it is apparently nearly 5 years old, will anyone actually ever look at
it?

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
The chicken that clucks the loudest is the one most likely to show up
at the steam fitters' picnic.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: T2000 Sparc FreeBSD8.2 installation failed

2012-01-26 Thread Rares Aioanei

On 01/26/2012 02:05 PM, Anonymous wrote:


NetBSD
Not recommended, sorry to say


Why?


--
Rares Aioanei

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9.0 ICH8M trouble, no HDD found, unable to install.

2012-01-26 Thread Jasper Valentijn
Mike wrote:
 I do not have this hardware, so these are just a couple of wild guessses
 from the blue on my part.  I am also looking only at 64 bit platforms here,
 so if there is any signifigant difference with 32 bit I can't look/see.

Just to be on the safe side I've also tried the 9.0 amd64 image. Same
results though.

 First, you might try using the 2 option on the boot menu and then 'load 
 acpi_sony' followed by 'boot'.

No change here, on both i386 and amd64.

 You may try disabling AHCI by switching to Legacy IDE mode and see what
 changes. If it works when you do this it confirms this to be where the  
 problem lies.
 Also ensure you are not using any BIOS config for AHCI+RAID.

Sony has completely stripped the bios, no options to set here.

 You may be able to play around a little using the loader (press 2) to set 
 and unset various variables.
 For example, hint.ahci.X.msi=0 would turn off MSI support.

No luck with this either. Have tried your suggestion and some others
'hint.ata.0.*'.

 As far as specific settings for controlling ATA_CAM and/or other AHCI support 
 I'm fuzzy on this.
 Perhaps if you reach this point someone more knowlegable can chime in.

Same here.

 As far as what I can tell from the PR you mentioned, if you saw the 
 exact same behavior after
 having installed FBSD 8.1 and then subsquently trying to upgrade to 8.2 it 
 would nail it to matching
 the PR.

I have tried the 8.1 i386 memstick image and it does see the drive.
I have tried the 8.2 i386 memstick image and it does not see the drive.
I have tried the 9.0 i386 memstick image and it does not see the drive.
I have tried the 9.0 amd64 memstick image and it does not see the drive.

Didn't do an install of 8.1 and upgrade to 8.2 though. If needed I
could try that, but I'd prefer to do a clean 9.0 install.

 Hope this helps any, as it's just basically just a couple of wild guesses 
 to maybe get you started.

Well, still no FBSD 9.0 on the box but it kept me busy. Thanks anyways!

Jasper

-- 
“We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.”
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and 3G Modems

2012-01-26 Thread Odhiambo Washington
On Wed, Jan 25, 2012 at 18:54, Mike Tancsa m...@sentex.net wrote:

 On 1/25/2012 5:43 AM, Odhiambo Washington wrote:
 
  I have a Huawei E1820
 
  I will also try RTFM.

 Hi,
kldload u3g
kldload umodem


Done, although kldload u3g tells me that file already exists! Perhaps
because I booted up with my Huawei dongle plugged in.
kldstat | grep u3g shows me nothing though.



 plug in the modem

 Show the output of

 usbconfig


[wash@pcbsd9] /home/wash# usbconfig
ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen2.1: EHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen3.1: UHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen4.1: UHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen5.1: UHCI root HUB Intel at usbus5, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen6.1: EHCI root HUB Intel at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen6.2: HUAWEI Mobile Huawei Technologies at usbus6, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON
ugen0.2: BCM2045B Broadcom Corp at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen0.3: Biometric Coprocessor STMicroelectronics at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.2: Microsoft Nano Transceiver v1.0 Microsoft at usbus3, cfg=0
md=HOST spd=FULL (12Mbps) pwr=ON



 then

  sysctl -a dev.u3g


[wash@pcbsd9] /home/wash# sysctl -a dev.u3g
dev.u3g.0.%desc: Huawei Technologies HUAWEI Mobile, class 0/0, rev
2.00/0.00, addr 2
dev.u3g.0.%driver: u3g
dev.u3g.0.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=0
dev.u3g.0.%pnpinfo: vendor=0x12d1 product=0x1001 devclass=0x00
devsubclass=0x00 sernum= release=0x mode=host intclass=0xff
intsubclass=0xff
 intprotocol=0xff  ttyname=U0 ttyports=3
dev.u3g.0.%parent: uhub



 and
 ls -l /dev/cuaU*


[wash@pcbsd9] /home/wash# ls -l /dev/cuaU*
crw-rw  1 uucp  dialer0, 117 Jan 26 18:23 /dev/cuaU0.0
crw-rw  1 uucp  dialer0, 118 Jan 26 18:23 /dev/cuaU0.0.init
crw-rw  1 uucp  dialer0, 119 Jan 26 18:23 /dev/cuaU0.0.lock
crw-rw  1 uucp  dialer0, 123 Jan 26 18:23 /dev/cuaU0.1
crw-rw  1 uucp  dialer0, 124 Jan 26 18:23 /dev/cuaU0.1.init
crw-rw  1 uucp  dialer0, 125 Jan 26 18:23 /dev/cuaU0.1.lock
crw-rw  1 uucp  dialer0, 129 Jan 26 18:23 /dev/cuaU0.2
crw-rw  1 uucp  dialer0, 130 Jan 26 18:23 /dev/cuaU0.2.init
crw-rw  1 uucp  dialer0, 131 Jan 26 18:23 /dev/cuaU0.2.lock




 and
 dmesg



[wash@pcbsd9] /home/wash# dmesg
Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011

r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC
amd64
CPU: Intel(R) Core(TM)2 Duo CPU T7300  @ 2.00GHz (1995.05-MHz K8-class
CPU)
  Origin = GenuineIntel  Id = 0x6fa  Family = 6  Model = f  Stepping = 10

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4000251904 (3814 MB)
Event timer LAPIC quality 400
ACPI APIC Table: LENOVO TP-7L   
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32
(20110527/tbfadt-556)
ACPI Warning: Optional field Gpe1Block has zero address or length:
0x102C/0x0 (20110527/tbfadt-586)
ioapic0: Changing APIC ID to 1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
cryptosoft0: software crypto on motherboard
acpi0: LENOVO TP-7L on motherboard
CPU0: local APIC error 0x40
acpi_ec0: Embedded Controller: GPE 0x12, ECDT port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x2000-0x207f mem
0xd600-0xd6ff,0xe000-0xefff,0xd400-0xd5ff irq 16 at
device 0.0 o
n pci1
nvidia0: Quadro NVS 140M on vgapci0
vgapci0: child nvidia0 requested pci_enable_io

Re: FreeBSD 9 and 3G Modems

2012-01-26 Thread Mike Tancsa
On 1/26/2012 10:58 AM, Odhiambo Washington wrote:
 Hi,
kldload u3g
kldload umodem
 
 
 Done, although kldload u3g tells me that file already exists! Perhaps
 because I booted up with my Huawei dongle plugged in.
 kldstat | grep u3g shows me nothing though.

Looks like its already defined in the kernel!

 ugen6.2: HUAWEI Mobile Huawei Technologies at usbus6, cfg=0 md=HOST
 spd=HIGH (480Mbps) pwr=ON

It sees it.

  
 
 
 then
 
  sysctl -a dev.u3g
 
 
 [wash@pcbsd9] /home/wash# sysctl -a dev.u3g
 dev.u3g.0.%desc: Huawei Technologies HUAWEI Mobile, class 0/0, rev
 2.00/0.00, addr 2
 dev.u3g.0.%driver: u3g
 dev.u3g.0.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=0
 dev.u3g.0.%pnpinfo: vendor=0x12d1 product=0x1001 devclass=0x00
 devsubclass=0x00 sernum= release=0x mode=host intclass=0xff
 intsubclass=0xff
  intprotocol=0xff  ttyname=U0 ttyports=3
 dev.u3g.0.%parent: uhub

More importantly, the driver sees it and has used cuaU0.*

 and
 ls -l /dev/cuaU*
 
 
 [wash@pcbsd9] /home/wash# ls -l /dev/cuaU*
 crw-rw  1 uucp  dialer0, 117 Jan 26 18:23 /dev/cuaU0.0
 crw-rw  1 uucp  dialer0, 118 Jan 26 18:23 /dev/cuaU0.0.init
 crw-rw  1 uucp  dialer0, 119 Jan 26 18:23 /dev/cuaU0.0.lock
 crw-rw  1 uucp  dialer0, 123 Jan 26 18:23 /dev/cuaU0.1
 crw-rw  1 uucp  dialer0, 124 Jan 26 18:23 /dev/cuaU0.1.init
 crw-rw  1 uucp  dialer0, 125 Jan 26 18:23 /dev/cuaU0.1.lock
 crw-rw  1 uucp  dialer0, 129 Jan 26 18:23 /dev/cuaU0.2
 crw-rw  1 uucp  dialer0, 130 Jan 26 18:23 /dev/cuaU0.2.init
 crw-rw  1 uucp  dialer0, 131 Jan 26 18:23 /dev/cuaU0.2.lock

This is where you need to do a bit of experimenting.  Some modems
register these sub ports and others do not.  Some are for out of band
control and one will be the device you actually use in your ppp config.
 The init string sort of depends on your carrier. But a basic one to try
in ppp.conf is below.  For the set device line, you might need to change
it to /dev/cuaU0.1 or /dev/cuaU0.2

invoke with ppp -ddial u3g

You might need the authname and auth key, you might not. For the context
you might need to change it from internet.com to something else.  Again,
ask your carrier for that info. Try first without the CGDCONT line as
the default in the modem might do the trick.


u3g:
 set device /dev/cuaU0.0
 set server /var/run/gprs-internet  0177
 set speed 921600
 set timeout 0
 set authname wapuser1
 set authkey wap
 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\\\,\\\internet.com\\\ OK \
ATv OK \
ATD*99# CONNECT
 set crtscts on
 disable vjcomp
 disable acfcomp
 disable deflate
 disable deflate24
 disable pred1
 disable protocomp
 disable mppe
 disable ipv6cp
 disable lqr
 disable echo
 #nat enable yes
 enable dns
 resolv writable
 set dns 8.8.8.8
 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
 add default HISADDR  # See ppp.link*




-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and 3G Modems

2012-01-26 Thread Odhiambo Washington
On Thu, Jan 26, 2012 at 19:12, Mike Tancsa m...@sentex.net wrote:

 On 1/26/2012 10:58 AM, Odhiambo Washington wrote:
  Hi,
 kldload u3g
 kldload umodem
 
 
  Done, although kldload u3g tells me that file already exists! Perhaps
  because I booted up with my Huawei dongle plugged in.
  kldstat | grep u3g shows me nothing though.

 Looks like its already defined in the kernel!

  ugen6.2: HUAWEI Mobile Huawei Technologies at usbus6, cfg=0 md=HOST
  spd=HIGH (480Mbps) pwr=ON

 It sees it.

 
 
 
  then
 
   sysctl -a dev.u3g
 
 
  [wash@pcbsd9] /home/wash# sysctl -a dev.u3g
  dev.u3g.0.%desc: Huawei Technologies HUAWEI Mobile, class 0/0, rev
  2.00/0.00, addr 2
  dev.u3g.0.%driver: u3g
  dev.u3g.0.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=0
  dev.u3g.0.%pnpinfo: vendor=0x12d1 product=0x1001 devclass=0x00
  devsubclass=0x00 sernum= release=0x mode=host intclass=0xff
  intsubclass=0xff
   intprotocol=0xff  ttyname=U0 ttyports=3
  dev.u3g.0.%parent: uhub

 More importantly, the driver sees it and has used cuaU0.*

  and
  ls -l /dev/cuaU*
 
 
  [wash@pcbsd9] /home/wash# ls -l /dev/cuaU*
  crw-rw  1 uucp  dialer0, 117 Jan 26 18:23 /dev/cuaU0.0
  crw-rw  1 uucp  dialer0, 118 Jan 26 18:23 /dev/cuaU0.0.init
  crw-rw  1 uucp  dialer0, 119 Jan 26 18:23 /dev/cuaU0.0.lock
  crw-rw  1 uucp  dialer0, 123 Jan 26 18:23 /dev/cuaU0.1
  crw-rw  1 uucp  dialer0, 124 Jan 26 18:23 /dev/cuaU0.1.init
  crw-rw  1 uucp  dialer0, 125 Jan 26 18:23 /dev/cuaU0.1.lock
  crw-rw  1 uucp  dialer0, 129 Jan 26 18:23 /dev/cuaU0.2
  crw-rw  1 uucp  dialer0, 130 Jan 26 18:23 /dev/cuaU0.2.init
  crw-rw  1 uucp  dialer0, 131 Jan 26 18:23 /dev/cuaU0.2.lock

 This is where you need to do a bit of experimenting.  Some modems
 register these sub ports and others do not.  Some are for out of band
 control and one will be the device you actually use in your ppp config.
  The init string sort of depends on your carrier. But a basic one to try
 in ppp.conf is below.  For the set device line, you might need to change
 it to /dev/cuaU0.1 or /dev/cuaU0.2

 invoke with ppp -ddial u3g

 You might need the authname and auth key, you might not. For the context
 you might need to change it from internet.com to something else.  Again,
 ask your carrier for that info. Try first without the CGDCONT line as
 the default in the modem might do the trick.


 u3g:
  set device /dev/cuaU0.0
  set server /var/run/gprs-internet  0177
  set speed 921600
  set timeout 0
  set authname wapuser1
  set authkey wap
  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\\\,\\\internet.com\\\ OK \
ATv OK \
ATD*99# CONNECT
  set crtscts on
  disable vjcomp
  disable acfcomp
  disable deflate
  disable deflate24
  disable pred1
  disable protocomp
  disable mppe
  disable ipv6cp
  disable lqr
  disable echo
  #nat enable yes
  enable dns
  resolv writable
  set dns 8.8.8.8
  set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
  add default HISADDR  # See ppp.link*


Hi Mike,

I guess the internet.com in  AT+CGDCONT=1,\\\IP\\\,\\\internet.com\\\
OK \ refer to the APN? I know I need to read ppp.conf again soon :)


ppp.log:

Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: default: set timeout 180
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: default: enable dns
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set device
/dev/cuaU0.0
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set server
/var/run/gprs-internet  0177
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Warning: Local: bind: Address
already in use
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Warning: set server: Failed 2
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set speed 921600
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set timeout 0
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set authname saf
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set authkey 
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set dial ABORT BUSY
TIMEOUT 2AT OK-AT-OKAT+CFUN=1 OK-AT-OK
 AT+CMEE=2 OK-AT-OKAT+CSQ OK
AT+CGDCONT=1,\IP\,\safaricom\ OKATv OKATD*99# CONNECT
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: set crtscts on
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable vjcomp
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable acfcomp
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable deflate
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable deflate24
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable pred1
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable protocomp
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: u3g: disable mppe
Jan 26 19:58:39 pcbsd9 ppp[7367]: tun0: Command: 

Re: FreeBSD 9 and 3G Modems

2012-01-26 Thread Carl Johnson
Odhiambo Washington odhia...@gmail.com writes:

 On Wed, Jan 25, 2012 at 18:54, Mike Tancsa m...@sentex.net wrote:

 On 1/25/2012 5:43 AM, Odhiambo Washington wrote:
 
  I have a Huawei E1820
 
  I will also try RTFM.

 Hi,
kldload u3g
kldload umodem


 Done, although kldload u3g tells me that file already exists! Perhaps
 because I booted up with my Huawei dongle plugged in.
 kldstat | grep u3g shows me nothing though.

The command 'kldstat -v' shows that u3g is already compiled in for the
9.0-RELEASE kernel.

-- 
Carl Johnsonca...@peak.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and 3G Modems

2012-01-26 Thread Mike Tancsa
On 1/26/2012 12:00 PM, Odhiambo Washington wrote:
 
 Hi Mike,
 
 I guess the internet.com http://internet.com in 
 AT+CGDCONT=1,\\\IP\\\,\\\internet.com http://internet.com/\\\ OK \
 refer to the APN? I know I need to read ppp.conf again soon :)

Hi,
Yes, thats the APN. Your APN seems to be safaricom.  Also, get rid of
the line that has atv. Thats confusing your modem.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what are the top python books?

2012-01-26 Thread Boris
http://learnpythonthehardway.org/

Pick the format you want.

HTH.

B.

On Thu, Jan 26, 2012 at 7:00 AM, Roland Smith rsm...@xs4all.nl wrote:
 On Wed, Jan 25, 2012 at 07:39:40PM -0800, Gary Kline wrote:

 guys,

 sorry if this is a re-request and a bit OT, but, it's seriously
 time i got myself in gear and bought or borrowed a book or CD // DVD
 that teaches python.  i honestly do prefer ink+paper, but with one
 hand MIA, i need paperweights!  so if there are books that can be
 popped into the cd/dvd drawer, that would be  better.

 i tried to follow some seriously complex python that might not have
 worked on BSD.  I want something that's good enough to clue me in
 on how to do that.

 Learning Python by Mark Lutz is pretty complete and in-depth
 introduction. But at 1100-odd pages it is quite a hefty tome, though. The
 followup book Programming Python by the same author covers various aspects
 like network programming, GUI programming et cetera.

 The online documentation is excellent _for the standard library_ and the
 _tutorial_.

 Also online you can find Think Python: How to Think Like a Computer
 Scientist, which is a nice introduction

 Roland
 --
 R.F.Smith                                   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IPv6 VM

2012-01-26 Thread Steve Bertrand

Hi all!

I've been away for some time, but I'm now getting back into the full 
swing of things.


I'm wondering if there is anyone out there who can let me temporarily 
borrow a CLI-only clean install FBSD virtual machine with a publicly 
facing IPv4 and native IPv6 address. It will be extremely low bandwidth 
(almost none at all) for testing some v6 DNS software and other v6 
statistical programs I'm writing.


Please contact off list.

Thanks!

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: T2000 Sparc FreeBSD8.2 installation failed

2012-01-26 Thread Fritz Wuehler
You wrote:

 On 01/26/2012 02:05 PM, Anonymous wrote:
 
  NetBSD
  Not recommended, sorry to say
 
 Why?

Net has support for less sparc64 platforms than OpenBSD or FreeBSD and
NetBSD reliability has gone downhill. I am sad to say it but I think Net's
best days are behind us. I hope I have to eat my words some day. It used to
be my favorite OS and pkgsrc is fantastic.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Old Bug or not?

2012-01-26 Thread Yuri Pankov
On Thu, Jan 26, 2012 at 07:48:18AM -0500, Jerry wrote:
 There seems to be an old BUG,
 http://osdir.com/ml/freebsd-bugs/2006-04/msg00309.html
 that has recently been noted on the Postfix forums.

403 Forbidden

 Was this bug ever actually addressed? In other words, is this an
 actual bug or is it working as intended? If it is a bug, and since
 it is apparently nearly 5 years old, will anyone actually ever look at
 it?


Yuri


pgpuXXC1pe4SC.pgp
Description: PGP signature


Re: IPv6 VM

2012-01-26 Thread Robert Boyer
I can probably arrange for a tunneled v6 address - should be the same thing at 
the end of the day…. how much time/mem you need?

RB

On Jan 26, 2012, at 2:10 PM, Steve Bertrand wrote:

 Hi all!
 
 I've been away for some time, but I'm now getting back into the full swing of 
 things.
 
 I'm wondering if there is anyone out there who can let me temporarily borrow 
 a CLI-only clean install FBSD virtual machine with a publicly facing IPv4 and 
 native IPv6 address. It will be extremely low bandwidth (almost none at all) 
 for testing some v6 DNS software and other v6 statistical programs I'm 
 writing.
 
 Please contact off list.
 
 Thanks!
 
 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



XFCE keyboard layout tab missing

2012-01-26 Thread Neil Munro
Hi all, first I apologise if this is a known issue, I have been
searching but can't seem to find an answer. I am looking to switch to
FreeBSD full time and this is the only thing holding me back I want to
run XFCE and I know the 4.8 release has some issues with mounting
devices which used to use HAL but doesn't now, from what I understand
of the issue it's not a deal breaker for me, what I am struggling with
is that I cannot set the keyboard in XFCE to dvorak, as the layout tab
is missing and the keyboard icon in the settings window has no icon. I
imagined this was at first just requiring the correct language pack
but having installed the GB language pack the missing tab does not
appear. Additionally I recompiled xfce4-settings with all options
enabled to no avail.

Does anyone know what may be causing this issue?

Many thanks,
Neil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OFF Topic. FreeBSD SAP Oracle Financials.

2012-01-26 Thread Jorge Biquez

Hello all.

I am sorry if this is OFF Topic. I am looking for help from more 
experienced people in these areas.


I am looking for a job and one company is looking for people to 
create a test team (part of the quality assurance team). Their 
projects is based on SAP and Oracle Financials systems.  I used SAP 
and Oracle Financials some years ago and I do not have a chance to 
create a lab for me to study them because of the nature of those products.


I thought that could help me a lot to try to emulate a lab installing 
Oracle as a database under my Freebsd personal server . That way 
maybe I can at least recreate the database schema (if I get it) and 
try to understand how it works and maybe , as part of the study , try 
to run reports and populate the database in some way (maybe PHP or Ruby?).


Questions.

- IS there any version of Oracle that I could install under FreeBSD 
(actually on 7.3)?


- Since I am in the process of learning to be more prepared for new 
projects as an Independent IT consultant, I would like to be able to 
learn tools that help me in the projects/job search. So IN this case, 
assuming that I can recreate someway with Oracle or MySQl or 
Postgresql the tables I need to study and assuming also previous 
experience on programming


How would you see to use Ruby for a crash course on accessing and web 
publishing the information on those tables? (actually I continue the 
process of learning Python but I am not ready , yet, for the web 
part). If You think Ruby could be faster , any resources you point me 
to are really appreciated.


- Finally . If you know of places of where I can get information, 
free if possible, about the actual version of Oracle Financials and 
SAP. Technical manual and the operational , administrative ones. I 
would love to hear where. I have tried of course the companies for 
SAP and Oracle financials but at least from here I can not access 
anything if I am not a consultant certified by them. Any suggestions?


I know this could sound as a waste of time project (trying to emulate 
the operation of SAP and Oracle in some part) but for sure I can not 
have access to a real application and besides with the Ruby learning 
I guess I could be in better position for future projects.


As always thanks in advance for your help and comments.

Jorge Biquez

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org