line lengths in /etc/hosts

2013-03-27 Thread Perry Hutchison
Is there a limit on line length in FreeBSD's /etc/hosts?

I'm not finding any mention of such a limit in hosts(5), but
characters beyond the first 660 or so seem to be ignored.

To answer the inevitable followup why would anyone need such
a long line in /etc/hosts:

With this line in /etc/nsswitch.conf

  hosts: files dns

I can easily suppress access to unwanted web sites by adding
names to the localhost line in /etc/hosts, like this:

  127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ...

My version of that line has gotten rather long :)
___
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: line lengths in /etc/hosts

2013-03-27 Thread Polytropon
On Wed, 27 Mar 2013 01:57:48 -0700, Perry Hutchison wrote:
 I can easily suppress access to unwanted web sites by adding
 names to the localhost line in /etc/hosts, like this:
 
   127.0.0.1   localhost localhost.my.domain bad1.com bad2.com ...
 
 My version of that line has gotten rather long :)

Without actually havint tested this, but have you considered
using the \ continuation character (linebreak escape) to avoid
the problem? Also I think there's not a generic limit to the
/etc/hosts file itself, but maybe to the input buffers of the
programs that read this file...


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: line lengths in /etc/hosts

2013-03-27 Thread Erik Nørgaard
On 27 Mar 2013, at 09:57, per...@pluto.rain.com (Perry Hutchison) wrote:

 Is there a limit on line length in FreeBSD's /etc/hosts?
 
 I'm not finding any mention of such a limit in hosts(5), but
 characters beyond the first 660 or so seem to be ignored.
 
 To answer the inevitable followup why would anyone need such
 a long line in /etc/hosts:
 
 With this line in /etc/nsswitch.conf
 
  hosts: files dns
 
 I can easily suppress access to unwanted web sites by adding
 names to the localhost line in /etc/hosts, like this:
 
  127.0.0.1localhost localhost.my.domain bad1.com bad2.com ...
 
 My version of that line has gotten rather long :)

AFAIK you can have multiple lines. 

BR
___
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: line lengths in /etc/hosts

2013-03-27 Thread Erich Dollansky
Hi,

On Wed, 27 Mar 2013 10:09:29 +0100
Erik Nørgaard norga...@locolomo.org wrote:

 On 27 Mar 2013, at 09:57, per...@pluto.rain.com (Perry Hutchison)
 wrote:
 
  Is there a limit on line length in FreeBSD's /etc/hosts?
  
  I'm not finding any mention of such a limit in hosts(5), but
  characters beyond the first 660 or so seem to be ignored.
  
  To answer the inevitable followup why would anyone need such
  a long line in /etc/hosts:
  
  With this line in /etc/nsswitch.conf
  
   hosts: files dns
  
  I can easily suppress access to unwanted web sites by adding
  names to the localhost line in /etc/hosts, like this:
  
   127.0.0.1localhost localhost.my.domain bad1.com bad2.com ...
  
  My version of that line has gotten rather long :)
 
 AFAIK you can have multiple lines. 
 
yes, I have hundreds or even thousands of lines and never ran into any
problems.

Erich
___
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

OT: The future of USENET?

2013-03-27 Thread Matthias Apitz

Hello,

This is a bit OT, but maybe some of you FreeBSD folks are as well
affected like me and/or have any answer or comments...

In the past I've used a lot the so called newsgroups, even running my own inn
news server for our company and nn as the newsreader. I liked to post
there technical (and other) questions and answers, or I've google'ed for
solutions.

Nowadays there is a big silence :-(
Where have all the people gone? Is USENET coming to its end?

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: OT: The future of USENET?

2013-03-27 Thread Quartz

Is USENET coming to its end?


Yes, for better or worse. It's been a slow downward spiral since the 
late 90's. I can't speak for other countries, but in the US the majority 
of ISPs started dropping access as a cost cutting measure since your 
average layman didn't really understand or use it. Younger generations 
in turn never knew it existed and ended up reinventing most of the 
functionality with web forums. Not helping matters is that, due to a 
couple isolated cases, the news media ignorantly view usenet as a haven 
for child porn and pirate movies, so there's increasing clamor to shut 
it down. There were a few 3rd party companies here and there that 
offered dedicated access, but most of them have closed up shop by this 
point due to social/political pressure.


__
it has a certain smooth-brained appeal
___
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: OT: The future of USENET?

2013-03-27 Thread Polytropon
On Wed, 27 Mar 2013 10:49:25 +0100, Matthias Apitz wrote:
 Where have all the people gone?

They're using wibbly wobbly web wonder services, unless
they've been placed in a retirement castle. :-)



 Is USENET coming to its end?

I think it's just changing audiences. A common means of
USENET today seems to be binary groups for sharing warez.
There are few newsgroups considered old-fashioned,
greybeard and elitist grounds. The common means of
communication probably has moved to other services,
generic ones such as mailing lists, and more service-
oriented ones like the many web-based platforms.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: OT: The future of USENET?

2013-03-27 Thread Alejandro Imass
On Wed, Mar 27, 2013 at 6:55 AM, Quartz qua...@sneakertech.com wrote:
 Younger generations


 In my experience, few people under the age of 30 have used usenet, and no
 one under the age of 20 has even heard of it.


It's interesting to see all the re-inventions that occur all the time.
It's basically the same stuff, just re-invented for a wider audience,
lowering the barrier of entry in some cases and in others just plain
stupidity and ignorance. Many times these re-inventions happen without
even prior knowledge of what exists and other times are simplified
forks, or robbed ideas that wind up being the same or worse than their
original counterparts.

Examples are in all areas of technology, and in society in general.
For example, chat and instant messaging have always been avail for IRC
users since the late eighties but have been re-invented in the late
nineties with a bunch of incompatible and overlapping IM protocols.
Blogs and forums are also re-inventions of older and in many cases
more robust and versatile technologies like USENET and mailing lists.
In many cases what I find that is a shame is that these re-inventions
don't build on top of mature technologies but rather start out as
simple things and then evolve to overly complex things without any
elegance and that (as stated above) wind up being even more complex
and generally much less elegant than their older counterparts. A good
example is Windows and perhaps most of MS technology in general, with
a few counted exceptions.

In some cases the prior art in known quite well, take for example PHP
which was originally written in Perl, then forked to a new language
for whatever reasons, and the evolves to be as complex or worse than
Perl itself, and after all these years it's still not a full-fledged
and decent programming language. In some cases, the evolutionary line
is actually positive, take for example Ruby. Yet in this case, Perl
has continued to evolve quite well, as Larry Wall well put it: The
camel has evolved to be relatively self-sufficient. (On the other
hand, the camel has not evolved to smell good. Neither has Perl.).

One could go on forever with thousands of example, but it's all about
evolution and you can only evaluate these things with time. Who knows,
maybe USENET, IRC. etc. will continue to evolve and survive in niches,
or someday make a great comeback when other options have run their
course and have gone extinct.

Best,

-- 
Alejandro
___
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: OT: The future of USENET?

2013-03-27 Thread C. P. Ghost
On Wed, Mar 27, 2013 at 10:49 AM, Matthias Apitz g...@unixarea.de wrote:


 Hello,

 This is a bit OT, but maybe some of you FreeBSD folks are as well
 affected like me and/or have any answer or comments...

 In the past I've used a lot the so called newsgroups, even running my own
 inn
 news server for our company and nn as the newsreader. I liked to post
 there technical (and other) questions and answers, or I've google'ed for
 solutions.

 Nowadays there is a big silence :-(
 Where have all the people gone? Is USENET coming to its end?


Well, the public Usenet forums are dwindling, but still there, and
some of them are still quite active. Usenet is also still doing well in
closed communities which can afford to run a newsserver (e.g. some
Universities). I wouldn't write off Usenet yet; neither as a technology
nor as a real network.

-cpghost.


 matthias
 --
 Matthias Apitz   |  /\ ASCII Ribbon Campaign:
 www.asciiribbon.org
 E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
 WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
 phone: +49-170-4527211   |  / \ - Respect for open standards
 ___
 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


-- 
Cordula's Web. http://www.cordula.ws/
___
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: OT: The future of USENET?

2013-03-27 Thread staticsafe
On 3/27/2013 6:55, Quartz wrote:
 Younger generations
 
 In my experience, few people under the age of 30 have used usenet, and
 no one under the age of 20 has even heard of it.
 

19 year old usenet subscriber reporting in!

I subscribe to ASR and c.p.t.ntp which are the only decent newsgroups
that I have found, I've tried a few others but they seem to be dead and
filled with spam.

Anyone got any recommendations for newsgroups to subscribe to? :)

-- 
staticsafe
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.
___
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


Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

Hi !

I'm trying to update devel/py-setuptools which has been replaced by 
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo 
devel/py-distribute devel/py-setuptools since I'm using ports, but 
nothing happens.


Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has 0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?

Thanks.

Loic



___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Jerry
On Wed, 27 Mar 2013 13:22:19 +0100
Loic Capdeville articulated:

 I'm trying to update devel/py-setuptools which has been replaced by 
 devel/py-distribute.
 As mentioned in /usr/ports/UPDATING I did portupgrade -fo 
 devel/py-distribute devel/py-setuptools since I'm using ports, but 
 nothing happens.
 
 Output of pkg_version -vIL= :
 py27-setuptools-0.6c11_3   succeeds index (index has
 0.6.35)
 
 I already tried to fix the package registry using pkgdb -F.
 
 I've been trying to fix this for days, but still can't find a
 solution.

I have the same problem. However, since everything is apparently
working I just chose to ignore it. It probably should get corrected
though.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

2013-03-27 14:22, Loic Capdeville wrote:

Hi !

I'm trying to update devel/py-setuptools which has been replaced by
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo
devel/py-distribute devel/py-setuptools since I'm using ports, but
nothing happens.

Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has 0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?


Can you post contents of 
/usr/local/lib/python2.7/site-packages/easy-install.pth* files?


--
Sphinx of black quartz, judge my vow.
___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

On 27/03/2013 13:50, Volodymyr Kostyrko wrote:

2013-03-27 14:22, Loic Capdeville wrote:

Hi !

I'm trying to update devel/py-setuptools which has been replaced by
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo
devel/py-distribute devel/py-setuptools since I'm using ports, but
nothing happens.

Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has 0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?


Can you post contents of
/usr/local/lib/python2.7/site-packages/easy-install.pth* files?



Thanks for your quick response.
Here is what you requested:

-rw-r--r--  1 root  wheel  395 Mar 13 04:50 
/usr/local/lib/python2.7/site-packages/easy-install.pth
-rw-r--r--  1 root  wheel  215 Dec 30 15:04 
/usr/local/lib/python2.7/site-packages/easy-install.pth.dist



___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

On 27/03/2013 14:00, Loic Capdeville wrote:

On 27/03/2013 13:50, Volodymyr Kostyrko wrote:

2013-03-27 14:22, Loic Capdeville wrote:

Hi !

I'm trying to update devel/py-setuptools which has been replaced by
devel/py-distribute.
As mentioned in /usr/ports/UPDATING I did portupgrade -fo
devel/py-distribute devel/py-setuptools since I'm using ports, but
nothing happens.

Output of pkg_version -vIL= :
py27-setuptools-0.6c11_3   succeeds index (index has
0.6.35)

I already tried to fix the package registry using pkgdb -F.

I've been trying to fix this for days, but still can't find a solution.

Any idea ?


Can you post contents of
/usr/local/lib/python2.7/site-packages/easy-install.pth* files?



Thanks for your quick response.
Here is what you requested:

-rw-r--r--  1 root  wheel  395 Mar 13 04:50
/usr/local/lib/python2.7/site-packages/easy-install.pth
-rw-r--r--  1 root  wheel  215 Dec 30 15:04
/usr/local/lib/python2.7/site-packages/easy-install.pth.dist


___
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


... and the files content:

/usr/local/lib/python2.7/site-packages/easy-install.pth:

import sys; sys.__plen = len(sys.path)
./setuptools-0.6c11-py2.7.egg
./Pygments-1.5-py2.7.egg
./Babel-0.9.6-py2.7.egg
./MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg
./Jinja2-2.6-py2.7.egg
./Sphinx-1.1.3-py2.7.egg
./virtualenv-1.9.1-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; 
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = 
p+len(new)



/usr/local/lib/python2.7/site-packages/easy-install.pth.dist:

import sys; sys.__plen = len(sys.path)
./setuptools-0.6c11-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; 
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = 
p+len(new)


___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

2013-03-27 15:06, Loic Capdeville wrote:

/usr/local/lib/python2.7/site-packages/easy-install.pth:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
../Pygments-1.5-py2.7.egg
../Babel-0.9.6-py2.7.egg
../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg
../Jinja2-2.6-py2.7.egg
../Sphinx-1.1.3-py2.7.egg
../virtualenv-1.9.1-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


/usr/local/lib/python2.7/site-packages/easy-install.pth.dist:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


Looks like py-distribute is not installed at all.

what was the outcome of portupgrade -fo devel/py-distribute 
devel/py-setuptools? Can you try running that again?


--
Sphinx of black quartz, judge my vow.
___
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


Release 9.1 and 3G usb Modem

2013-03-27 Thread Leonardo Santagostini
Hello all.

I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
modem working.

I tried with umodem, u3g but no luck :(

-- Dmesg
root@:/root # dmesg
Copyright (c) 1992-2012 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.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Core(TM)2 Duo CPU P8400  @ 2.26GHz (2261.05-MHz 686-class
CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  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=0x408e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 2147483648 (2048 MB)
avail memory = 1967104000 (1875 MB)
Event timer LAPIC quality 400
ACPI APIC Table: DELL   M09
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
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
kqemu version 0x00010400
kqemu: KQEMU installed, max_locked_mem=980872kB.
acpi0: DELL M09 on motherboard
Timecounter HPET frequency 14318180 Hz quality 950
Event timer HPET frequency 14318180 Hz quality 450
Event timer HPET1 frequency 14318180 Hz quality 440
Event timer HPET2 frequency 14318180 Hz quality 440
Event timer HPET3 frequency 14318180 Hz quality 440
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 10, 78f4d400 (3) failed
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
atrtc0: AT realtime clock port 0x70-0x71,0x72-0x77 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
attimer0: AT timer port 0x40-0x43,0x50-0x53 irq 2 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_ec0: Embedded Controller: GPE 0x11 port 0x930,0x934 on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xef70-0xef77 mem
0xf6c0-0xf6ff,0xe000-0xefff irq 16 at device 2.0 on pci0
agp0: Intel GM45 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory
vgapci1: VGA-compatible display mem 0xf6b0-0xf6bf at device 2.1
on pci0
pci0: simple comms at device 3.0 (no driver attached)
atapci0: Intel ATA controller port
0xef78-0xef7f,0xef68-0xef6b,0xef80-0xef87,0xef6c-0xef6f,0xef90-0xef9f irq
18 at device 3.2 on pci0
ata2: ATA channel at channel 0 on atapci0
ata3: ATA channel at channel 1 on atapci0
pci0: simple comms, UART at device 3.3 (no driver attached)
em0: Intel(R) PRO/1000 Network Connection 7.3.2 port 0xefe0-0xefff mem
0xf6ae-0xf6af,0xf6adb000-0xf6adbfff irq 22 at device 25.0 on pci0
em0: Using an MSI interrupt
em0: Ethernet address: 00:1e:c9:25:e8:07
uhci0: Intel 82801I (ICH9) USB controller port 0x6f60-0x6f7f irq 20 at
device 26.0 on pci0
uhci0: LegSup = 0x2f00
usbus0 on uhci0
uhci1: Intel 82801I (ICH9) USB controller port 0x6f80-0x6f9f irq 21 at
device 26.1 on pci0
uhci1: LegSup = 0x2f00
usbus1 on uhci1
uhci2: Intel 82801I (ICH9) USB controller port 0x6fa0-0x6fbf irq 22 at
device 26.2 on pci0
uhci2: LegSup = 0x2f00
usbus2 on uhci2
ehci0: Intel 82801I (ICH9) USB 2.0 controller mem 0xfed1c400-0xfed1c7ff
irq 22 at device 26.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
hdac0: Intel 82801I HDA Controller mem 0xf6adc000-0xf6ad irq 21 at
device 27.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0
pci12: ACPI PCI bus on pcib2
iwn0: Intel Ultimate N WiFi Link 5300 mem 0xf69fe000-0xf69f irq 17 at
device 0.0 on pci12
pcib3: ACPI PCI-PCI bridge at device 28.2 on pci0
pci13: ACPI PCI bus on pcib3
uhci3: Intel 82801I (ICH9) USB controller port 0x6f00-0x6f1f irq 20 at
device 29.0 on pci0
uhci3: LegSup = 0x2f00
usbus4 on uhci3
uhci4: Intel 82801I (ICH9) USB controller port 0x6f20-0x6f3f irq 21 at
device 29.1 on pci0
uhci4: LegSup = 0x2f00
usbus5 on uhci4
uhci5: Intel 82801I (ICH9) USB controller port 0x6f40-0x6f5f irq 22 at
device 29.2 on pci0
uhci5: LegSup = 0x2f00
usbus6 on uhci5
ehci1: Intel 82801I (ICH9) USB 2.0 controller mem 0xfed1c000-0xfed1c3ff
irq 20 at device 29.7 on pci0
usbus7: EHCI version 1.0
usbus7 on ehci1
pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib4
cbb0: RF5C476 PCI-CardBus Bridge irq 19 at device 1.0 on pci3
cardbus0: CardBus bus on cbb0
pccard0: 16-bit 

Re: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

On 27/03/2013 14:27, Volodymyr Kostyrko wrote:

2013-03-27 15:06, Loic Capdeville wrote:

/usr/local/lib/python2.7/site-packages/easy-install.pth:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
../Pygments-1.5-py2.7.egg
../Babel-0.9.6-py2.7.egg
../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg
../Jinja2-2.6-py2.7.egg
../Sphinx-1.1.3-py2.7.egg
../virtualenv-1.9.1-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


/usr/local/lib/python2.7/site-packages/easy-install.pth.dist:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


Looks like py-distribute is not installed at all.

what was the outcome of portupgrade -fo devel/py-distribute
devel/py-setuptools? Can you try running that again?



It hasn't printed anything since the first time I tried to run it...
and still print nothing.
___
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


icedtea plugin alongside linux-sun-jdk

2013-03-27 Thread Andre Goree
I have linux-sun-jdk16 installed on my workstation at my workplace due to  
certain linux-based software that I need to be able to run.  This works  
flawlessly, however I'm wondering what caveats I'll run into by now  
installing the icedtea web browser plugin, since it seems to depend on  
FreeBSD's openjdk.  Is it possible to run these two alongside each other?


--
Andre Goree
an...@drenet.info
___
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


/etc/sudoers

2013-03-27 Thread Joe

I have been moving this file forward since about release 5.0.
Today is tried the do a man sudoers and got no page found.
The su man page does not reference it.

Has the file been removed?
Does it maybe belong to some port?
Any ideas?

Thanks
___
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: /etc/sudoers

2013-03-27 Thread Fleuriot Damien

On Mar 27, 2013, at 4:54 PM, Joe fb...@a1poweruser.com wrote:

 I have been moving this file forward since about release 5.0.
 Today is tried the do a man sudoers and got no page found.
 The su man page does not reference it.
 
 Has the file been removed?
 Does it maybe belong to some port?
 Any ideas?
 
 Thanks


The file is actually /usr/loal/etc/sudoers and is tied to 
/usr/ports/security/sudo

Install sudo from there and you automagically get the man page.


___
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-hack...@freebsd.org

2013-03-27 Thread Lowell Gilbert
budsz bud...@gmail.com writes:

 I want ask about error in `dmesg` output remove Bump sched buckets to
 64 (was 0)
 in FreeBSD 8.3 STABLE version. Where's the code lines should be remove 
 (safety)?

That message isn't in RELENG_9, so I can't give you details. It's
probably resizing a dummynet queue, so it's likely to be in one of the c
files in /usr/src/sys/netpfil/ipfw/. Removing the print statment is
*probably* safe, but will leave you with less information if something
actually goes wrong with allocating buckets the next time you add a new
queue. 

Or you could update to something more recent, where that specific
message isn't present at all.
___
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


any 9.1-RELEASE-p1 to 10.0-CURRENT howtos?

2013-03-27 Thread Antonio Olivares
Dear folks,

On one of my machines I cannot get it to update ports, most fail with
gettext.  I tried some options like disabling Native Language Support
in binutils, but it still fails.  I deleted all the ports and am
looking at starting from scratch again, but this time move to CLANG
and build world and install world and not USE gcc and GNU anymore (on
the machine which gettext fails).  Is there a nice howto as to how to
do this?
How can it be done in easy steps and then try to track current?

I am aware that I would be on my own if I track current, but I want to
test many programs to see if they would build without GCC and with
CLANG only and report back to the developers and let them know of
issues.

Thanks,


Antonio
___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

2013-03-27 15:33, Loic Capdeville wrote:

On 27/03/2013 14:27, Volodymyr Kostyrko wrote:

2013-03-27 15:06, Loic Capdeville wrote:

/usr/local/lib/python2.7/site-packages/easy-install.pth:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
../Pygments-1.5-py2.7.egg
../Babel-0.9.6-py2.7.egg
../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg
../Jinja2-2.6-py2.7.egg
../Sphinx-1.1.3-py2.7.egg
../virtualenv-1.9.1-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


/usr/local/lib/python2.7/site-packages/easy-install.pth.dist:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


Looks like py-distribute is not installed at all.

what was the outcome of portupgrade -fo devel/py-distribute
devel/py-setuptools? Can you try running that again?



It hasn't printed anything since the first time I tried to run it...
and still print nothing.


So here is a main problem. If it prints nothing it doesn't work.

Do you have portupgrade or portmaster installed? Did it yield at least 
one line? Some errors? If it doesn't that's surely a sign that something 
is going wrong.


--
Sphinx of black quartz, judge my vow.
___
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: Release 9.1 and 3G usb Modem

2013-03-27 Thread Odhiambo Washington
On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello all.

 I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
 modem working.

 I tried with umodem, u3g but no luck :(


[snip]


 ugen7.2: HUAWEI at usbus7
 ugen7.2: HUAWEI at usbus7 (disconnected)
 ugen7.2: HUAWEI at usbus7
 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umodem0: data interface 0, has no CM over data, has no break
 umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umodem1: data interface 1, has no CM over data, has no break
 umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umodem2: data interface 2, has no CM over data, has no break
 umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:9:0:-1: Attached to scbus9
 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0
 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass1:  SCSI over Bulk-Only; quirks = 0x
 umass1:10:1:-1: Attached to scbus10
 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0
 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: Attempt to query device size failed: NOT READY, Medium not present



[snip]

Huawei modem, as I can see. That should be easy.

Connect to the modem through HyperTerminal or Putty on a different machine
Issue the command: AT^U2DIAG=0
That should disable the virtual CD-ROM and FreeBSD will see the modem.

Here are some commands you'll need to know about:
Do you have a Windows PC near you? If you plug the device into it and the
virtualCD pops up, then it means command was not successful. The fact that
fake CD still shows means command did not succeed!

AT^u2diag=0 (all off)
AT^u2diag=1 (CD on, SD off)
AT^u2diag=256 (CD off, SD is on)
AT^u2diag=255 (all on - including SD Card)
AT^u2diag=276 (Factory Reset)
A+CLAC - Display all available commands. However it does not tell you how
to use them



And here is a working ppp.conf - but you need to change the *bolded* values
to match your end of the environment:)

u3g:
 set device */dev/cuaU0.0*
 set server /var/run/3g-internet  0177
 set speed 921600
 set timeout 0
 set authname *saf*
 set authkey *data*
 set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
   \\ \
   AT OK-AT-OK \
   AT+CFUN=1 OK-AT-OK \
   AT+CMEE=2 OK-AT-OK \
   AT+CSQ OK \
   AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ 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*


Lemme know if you get stuck.

Also, always give details about modem - manufacturer, model...


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Loic Capdeville

On 27/03/2013 17:30, Volodymyr Kostyrko wrote:

2013-03-27 15:33, Loic Capdeville wrote:

On 27/03/2013 14:27, Volodymyr Kostyrko wrote:

2013-03-27 15:06, Loic Capdeville wrote:

/usr/local/lib/python2.7/site-packages/easy-install.pth:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
../Pygments-1.5-py2.7.egg
../Babel-0.9.6-py2.7.egg
../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg
../Jinja2-2.6-py2.7.egg
../Sphinx-1.1.3-py2.7.egg
../virtualenv-1.9.1-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


/usr/local/lib/python2.7/site-packages/easy-install.pth.dist:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


Looks like py-distribute is not installed at all.

what was the outcome of portupgrade -fo devel/py-distribute
devel/py-setuptools? Can you try running that again?



It hasn't printed anything since the first time I tried to run it...
and still print nothing.


So here is a main problem. If it prints nothing it doesn't work.

Do you have portupgrade or portmaster installed? Did it yield at least
one line? Some errors? If it doesn't that's surely a sign that something
is going wrong.

I use portupgrade regularly to upgrade my ports, and usually everything 
goes right.

If fails only with that particular operation (or these portupgrade options)
Do I have to install devel/py-distribute separately, or should the 
portupgrade -fo command do everything itself (uninstall py-setuptools 
and install py-distribute) ?

___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Volodymyr Kostyrko

2013-03-27 18:37, Loic Capdeville wrote:

import sys; sys.__plen = len(sys.path)
../setuptools-0.6c11-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:];
p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert =
p+len(new)


Looks like py-distribute is not installed at all.

what was the outcome of portupgrade -fo devel/py-distribute
devel/py-setuptools? Can you try running that again?



It hasn't printed anything since the first time I tried to run it...
and still print nothing.


So here is a main problem. If it prints nothing it doesn't work.

Do you have portupgrade or portmaster installed? Did it yield at least
one line? Some errors? If it doesn't that's surely a sign that something
is going wrong.


I use portupgrade regularly to upgrade my ports, and usually everything
goes right.
If fails only with that particular operation (or these portupgrade options)
Do I have to install devel/py-distribute separately, or should the
portupgrade -fo command do everything itself (uninstall py-setuptools
and install py-distribute) ?


This command should forcefully deintsall second package and replace it 
with first one. I'm not using portupgrade, I switched to portmaster long 
time ago so I can't help you with it.


If you want to make the switch by hand I think you should:

pkg_delete -f py27-setuptools-0.6c11_3
# now write down the whole list of dependent packages

cd /usr/ports/devel/py-distribute ; make install clean
portupgrade -f ..list of packages that require setuptools..

--
Sphinx of black quartz, judge my vow.
___
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: Upgrade devel/py-setuptools

2013-03-27 Thread Peter Boosten

On 27-3-2013 17:37, Loic Capdeville wrote:




I use portupgrade regularly to upgrade my ports, and usually everything
goes right.
If fails only with that particular operation (or these portupgrade options)
Do I have to install devel/py-distribute separately, or should the
portupgrade -fo command do everything itself (uninstall py-setuptools
and install py-distribute) ?


I had some problems with this one as well. I eventually ended up by 
pkg_deleting -f the package, delete manually some file portinstall 
complaints about, and after that it worked.


Peter

--
http://www.boosten.org


-
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2013.0.2904 / Virusdatabase: 2641/6206 - datum van uitgifte: 03/26/13

___
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: line lengths in /etc/hosts

2013-03-27 Thread Walter Hurry
On Wed, 27 Mar 2013 01:57:48 -0700, Perry Hutchison wrote:

 Is there a limit on line length in FreeBSD's /etc/hosts?
 
 I'm not finding any mention of such a limit in hosts(5), but characters
 beyond the first 660 or so seem to be ignored.
 
 To answer the inevitable followup why would anyone need such a long
 line in /etc/hosts:
 
 With this line in /etc/nsswitch.conf
 
   hosts: files dns
 
 I can easily suppress access to unwanted web sites by adding names to
 the localhost line in /etc/hosts, like this:
 
   127.0.0.1   localhost localhost.my.domain bad1.com bad2.com ...
 
 My version of that line has gotten rather long :)

$ tail -20 /etc/hosts
127.0.0.1  r1.zedo.com
127.0.0.1  simg.zedo.com
127.0.0.1  ss1.zedo.com
127.0.0.1  ss2.zedo.com
127.0.0.1  ss7.zedo.com
127.0.0.1  xads.zedo.com
127.0.0.1  yads.zedo.com
127.0.0.1  www.zedo.com #[Adware.RaxSearch]
127.0.0.1  c1.zxxds.net #[g1.panthercdn.com]
127.0.0.1  c7.zxxds.net
# [Zero Lag][AS20093][67.201.0.0 - 67.201.63.255]
127.0.0.1  ads.namiflow.com
127.0.0.1  adunit.namiflow.com
# [Zero Lag][AS20093][68.71.240.0 - 68.71.255.255]
127.0.0.1  rt.udmserve.net
# [Zero Lag][AS20093][72.37.216.0 - 72.37.217.255]
127.0.0.1  www.stickylogic.com
127.0.0.1  www.winadiscount.com #[Dr.Web.Adware.Xbarre]
127.0.0.1  www.winaproduct.com
# [end of entries generated by MVPS HOSTS]
$ 

___
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


OT: The future of USENET?

2013-03-27 Thread grarpamp
Usenet was great. 'Was' because it really isn't there anymore.
Servers used to be widespread, you could use your ISP, your school,
your work, and failing that plenty of free ones even if for the
asking, even some public/open ones. Now there are very few, if any,
free servers and likely none are public/open for obvious reasons.

Post 2000 Web 2.0 and those eyeballs destroyed usenet. They are the
idiot mass and they demanded to only see the world through their
browser window. And when usenet died off, so did the long running
text only archive servers, taking decades of human knowledge with
them. Vanished. Just the same as web forums do when they vanish.
Google's 'group' archive doesn't count, they're a corporation, they
wrapped it in web 2.0, they don't care, it will die.

The bandwidth cost, piracy and porn was just as damning as web 2.0.
The former caused the formal ISP/school/work support to die.
The latter stole the eyeballs.

Back then you had to have brains to be on the net, now everyone is
web 2.0, and they're satisfied with ridiculous web forums. Any
brains today are all but forced to use them because the population
is so slim anywhere else. Usenet has suffered its generational
penalty.

Usenet is still viable long term as a free/donation service, as is
irc, if operators do not carry the binary groups. Its new hope lies
with the opensource, hackerspace, anonymous, and related communities
of all sorts.

As a giant distributed mailing list, it's an awesome service that
these communities really should look at more closely.

Its future is up to you... will you run a server and list it as
a communication method (even primary) for your project, or not?
Will you donate a server to the public, or not?


FreeBSD related... it would be really nice if someone would shim
the FreeBSD forum to cause every post to be copied out to a set of
FreeBSD mailing lists. So the efficient/interested among us could
at least read, search and archive them without being forced to waste
time with the web interface.
___
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: Release 9.1 and 3G usb Modem

2013-03-27 Thread Leonardo Santagostini
Hello Odhiambo .

The 3G model is Huawei E173 with Movistar Argentina.

Ive tried but i cant see in windows de USB port to have a serial link :(

Saludos / Regards
Leonardo Santagostini





2013/3/27 Odhiambo Washington odhia...@gmail.com


 On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello all.

 I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
 modem working.

 I tried with umodem, u3g but no luck :(


 [snip]


 ugen7.2: HUAWEI at usbus7
 ugen7.2: HUAWEI at usbus7 (disconnected)
 ugen7.2: HUAWEI at usbus7
 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem0: data interface 0, has no CM over data, has no break
 umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem1: data interface 1, has no CM over data, has no break
 umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem2: data interface 2, has no CM over data, has no break
 umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:9:0:-1: Attached to scbus9
 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0
 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass1:  SCSI over Bulk-Only; quirks = 0x
 umass1:10:1:-1: Attached to scbus10
 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0
 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: Attempt to query device size failed: NOT READY, Medium not present



 [snip]

 Huawei modem, as I can see. That should be easy.

 Connect to the modem through HyperTerminal or Putty on a different machine
 Issue the command: AT^U2DIAG=0
 That should disable the virtual CD-ROM and FreeBSD will see the modem.

 Here are some commands you'll need to know about:
 Do you have a Windows PC near you? If you plug the device into it and the
 virtualCD pops up, then it means command was not successful. The fact that
 fake CD still shows means command did not succeed!

 AT^u2diag=0 (all off)
 AT^u2diag=1 (CD on, SD off)
 AT^u2diag=256 (CD off, SD is on)
 AT^u2diag=255 (all on - including SD Card)
 AT^u2diag=276 (Factory Reset)
 A+CLAC - Display all available commands. However it does not tell you how
 to use them



 And here is a working ppp.conf - but you need to change the *bolded* values
 to match your end of the environment:)

 u3g:
  set device */dev/cuaU0.0*
  set server /var/run/3g-internet  0177
  set speed 921600
  set timeout 0
  set authname *saf*
  set authkey *data*
  set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
\\ \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ 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*


 Lemme know if you get stuck.

 Also, always give details about modem - manufacturer, model...


 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 I can't hear you -- I'm using the scrambler.

___
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: Release 9.1 and 3G usb Modem

2013-03-27 Thread Odhiambo Washington
On Windows, install the modem drivers and make it usable.
Then connect to the port on which it is installed using putty or
HyperTerminal. I am hoping you know how to do that.
Then type the commands:

at^u2diag=0 ENTER
atz ENTER

Disconnect modem and connect to FreeBSD. You will see the modem correctly
identified and connected to a port.

On Windows, when you go to Hardware-Device Manager, look at the Serial
ports available. One of them MUST be the one the modem is using!




On 27 March 2013 23:09, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello Odhiambo .

 The 3G model is Huawei E173 with Movistar Argentina.

 Ive tried but i cant see in windows de USB port to have a serial link :(

 Saludos / Regards
  Leonardo Santagostini





 2013/3/27 Odhiambo Washington odhia...@gmail.com


 On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello all.

 I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
 modem working.

 I tried with umodem, u3g but no luck :(


 [snip]


 ugen7.2: HUAWEI at usbus7
 ugen7.2: HUAWEI at usbus7 (disconnected)
 ugen7.2: HUAWEI at usbus7
 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem0: data interface 0, has no CM over data, has no break
 umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem1: data interface 1, has no CM over data, has no break
 umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem2: data interface 2, has no CM over data, has no break
 umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:9:0:-1: Attached to scbus9
 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0
 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umass1:  SCSI over Bulk-Only; quirks = 0x
 umass1:10:1:-1: Attached to scbus10
 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0
 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: Attempt to query device size failed: NOT READY, Medium not present



 [snip]

 Huawei modem, as I can see. That should be easy.

 Connect to the modem through HyperTerminal or Putty on a different machine
 Issue the command: AT^U2DIAG=0
 That should disable the virtual CD-ROM and FreeBSD will see the modem.

 Here are some commands you'll need to know about:
 Do you have a Windows PC near you? If you plug the device into it and the
 virtualCD pops up, then it means command was not successful. The fact that
 fake CD still shows means command did not succeed!

 AT^u2diag=0 (all off)
 AT^u2diag=1 (CD on, SD off)
 AT^u2diag=256 (CD off, SD is on)
 AT^u2diag=255 (all on - including SD Card)
 AT^u2diag=276 (Factory Reset)
 A+CLAC - Display all available commands. However it does not tell you how
 to use them



 And here is a working ppp.conf - but you need to change the *bolded* values
 to match your end of the environment:)

 u3g:
  set device */dev/cuaU0.0*
  set server /var/run/3g-internet  0177
  set speed 921600
  set timeout 0
  set authname *saf*
  set authkey *data*
  set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
\\ \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ 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*


 Lemme know if you get stuck.

 Also, always give details about modem - manufacturer, model...


 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 I can't hear you -- I'm using the scrambler.





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
___
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: OT: The future of USENET?

2013-03-27 Thread Walter Hurry
On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote:

 Now there are very few, if any, free servers

There are still free news servers available. My ISP bundles usenet, 
nevertheless I prefer the free one as it's faster and more reliable.

___
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: Release 9.1 and 3G usb Modem

2013-03-27 Thread Matthias Apitz
El día Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo Santagostini 
escribió:

 Hello Odhiambo .
 
 The 3G model is Huawei E173 with Movistar Argentina.
 
 Ive tried but i cant see in windows de USB port to have a serial link :(
 
 Saludos / Regards
 Leonardo Santagostini

Hi,

Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c
driver; figure out the vendorID and productID of this card and check if
it is in the driver to attach to; I own an E220 and an E1750 Huawei card,
both are just working fine without any tricks.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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: OT: The future of USENET?

2013-03-27 Thread Joshua Isom

On 3/27/2013 3:25 PM, Walter Hurry wrote:

On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote:


Now there are very few, if any, free servers


There are still free news servers available. My ISP bundles usenet,
nevertheless I prefer the free one as it's faster and more reliable.



The last ISP I knew had usenet complained about the bandwidth and 
storage required.  They had a dedicated satellite instead of using their 
backbone, and only cached a couple days.  All the porn and warez has the 
side affect of wiping out the cost benefit.

___
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: any 9.1-RELEASE-p1 to 10.0-CURRENT howtos?

2013-03-27 Thread Lowell Gilbert
Antonio Olivares olivares14...@gmail.com writes:

 On one of my machines I cannot get it to update ports, most fail with
 gettext.  I tried some options like disabling Native Language Support
 in binutils, but it still fails.  I deleted all the ports and am
 looking at starting from scratch again, but this time move to CLANG
 and build world and install world and not USE gcc and GNU anymore (on
 the machine which gettext fails).  Is there a nice howto as to how to
 do this?
 How can it be done in easy steps and then try to track current?

Current isn't necessary, although it often has slightly newer versions
of the related tools. Clang will work fine on recent 9.x (I don't know
when it was imported, so it may need something more recent than
9.1). Furthermore, it will support building the world and ports, as
detailed in:
https://wiki.freebsd.org/BuildingFreeBSDWithClang

 I am aware that I would be on my own if I track current, but I want to
 test many programs to see if they would build without GCC and with
 CLANG only and report back to the developers and let them know of
 issues.

You are not entirely on your own with current, but you are expected to
more of the heavy lifting when a problem comes up that doesn't happen
for other people.

You actually have a number of choices that should work for you. You can
run current, which probably won't be very difficult (but nobody's going
to guarantee that). You can run RELENG_9 using clang as the default
compiler. Or you could use a jail to build with clang when the host
system builds with gcc. And I've most likely overlooked other
possibilities. 

If you are really starting from scratch on a particular machine, then a
clean install is worth considering; it guarantees that you're not
bringing along the effects of mistakes made previously on the system. If
the system is also needed stable for other purposes, then doing your
experiments in a jail may be your easiest path (a jail may even be
overkill; a chroot will handle it for some purposes). 

Good luck.
___
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


Copying memstick image to a USB (flash/thumb) drive

2013-03-27 Thread Ronald F. Guilmette

I've never used any FreeBSD memstick image before, but now I have reason
to do so.

I'm reading the instructions for creating a bootable memstick that are
located on this page:

  http://www.freebsd.org/releases/9.1R/announce.html

which include the following example of how to perform the copy:

  # dd if=FreeBSD-9.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=10240 conv=sync

Question:

   Why exactly is conv=sync is there?

   Also, in practice what does it actually do?  (I've used dd plenty in my
   lifetime, but never found any reason to use conv= at all.  I always
   thought that it was... mostly... just an archaic leftover from the days
   when some big iron used EBCDIC that needed to get converted to ASCII
   or vise versa.)

   The dd man page describes the sync type of conversion thusly:
   Pad every input block to the input buffer size.  Spaces are used for
   pad bytes if a block oriented conversion value is specified, otherwise
   NUL bytes are used.  Ummm... ok.  WTF is a block oriented conversion
   value?  How would I know if I had specified one?

Question:

Why exactly is the bs=10240 is there?  Wouldn't the default of 512
do just as well?


Regards,
rfg
___
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: OT: The future of USENET?

2013-03-27 Thread Matthias Apitz
El día Wednesday, March 27, 2013 a las 03:37:43PM -0500, Joshua Isom escribió:

 The last ISP I knew had usenet complained about the bandwidth and 
 storage required.  They had a dedicated satellite instead of using their 
 backbone, and only cached a couple days.  All the porn and warez has the 
 side affect of wiping out the cost benefit.

I'm using since some years http://www.aioe.org/ which has no binary
groups (i.e. no porn or warez) and a cache of 25 days. Just works.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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: Release 9.1 and 3G usb Modem

2013-03-27 Thread Leonardo Santagostini
Hello Matthias,

thanks for your response, Odhiambo was helping me with this modem with no
luck. Tomorrow we will continuing trying to get this modem running.

Thanks all, and thanks Odhiambo for all the support he is giving to get
this piece working :)

I really apreciate it !!!

Saludos / Regards
Leonardo Santagostini






2013/3/27 Matthias Apitz g...@unixarea.de

 El día Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo
 Santagostini escribió:

  Hello Odhiambo .
 
  The 3G model is Huawei E173 with Movistar Argentina.
 
  Ive tried but i cant see in windows de USB port to have a serial link :(
 
  Saludos / Regards
  Leonardo Santagostini

 Hi,

 Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c
 driver; figure out the vendorID and productID of this card and check if
 it is in the driver to attach to; I own an E220 and an E1750 Huawei card,
 both are just working fine without any tricks.

 matthias
 --
 Sent from my FreeBSD netbook

 Matthias Apitz   |  - No system with backdoors like
 Apple/Android
 E-mail: g...@unixarea.de |  - Never being an iSlave
 WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF
 in E-mail
 phone: +49-170-4527211   |  - Respect for open standards

___
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: Copying memstick image to a USB (flash/thumb) drive

2013-03-27 Thread Dan Nelson
In the last episode (Mar 27), Ronald F. Guilmette said:
 I've never used any FreeBSD memstick image before, but now I have reason
 to do so.
 
 I'm reading the instructions for creating a bootable memstick that are
 located on this page:
 
   http://www.freebsd.org/releases/9.1R/announce.html
 
 which include the following example of how to perform the copy:
 
   # dd if=FreeBSD-9.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=10240 
 conv=sync
 
 Question:
 
Why exactly is conv=sync is there?

 Question:
 
 Why exactly is the bs=10240 is there?  Wouldn't the default of 512
 do just as well?

It looks like someone just copied a dd commandline from somewhere else,
maybe something to do with tar files (since tar defaults to a 10k blocksize
when writing to tape).  conv=sync isn't needed since the source file is
already a multiple of the target device blocksize (512 bytes), and bs=64k
would be much faster when writing to cheap flash devices like USB sticks
since they don't have a write cache and individual writes are slowish.

-- 
Dan Nelson
dnel...@allantgroup.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: Copying memstick image to a USB (flash/thumb) drive

2013-03-27 Thread Daniel O'Callaghan

On 28/03/2013 8:10 AM, Ronald F. Guilmette wrote:

Question:

Why exactly is conv=sync is there?

I found this on http://www.mkssoftware.com/docs/man1/dd.1.asp

If you specified conv=sync and this input block is smaller than the 
specified input block size, dd pads it to the specified size with null 
bytes. When you also specify a block or unblock conversion, dd uses 
spaces instead of null bytes.


So the last block of output gets padded with 0x00 at the end to fill the 
input block size (from bs=...)



Question:

 Why exactly is the bs=10240 is there?  Wouldn't the default of 512
 do just as well?
It would, but then you would have FILESIZE/512 reads and writes instead 
of FILESIZE/10240 reads and writes - 20 times more.

The end result is the same, but the large bs makes the operation go faster.
I routinely use bs=655360 simply because it is a big number divisible by 
512, which I can easily remember.  512000 would do just as well, though...


Danny

___
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: OT: The future of USENET?

2013-03-27 Thread Walter Hurry
On Wed, 27 Mar 2013 15:37:43 -0500, Joshua Isom wrote:

 On 3/27/2013 3:25 PM, Walter Hurry wrote:
 On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote:

 Now there are very few, if any, free servers

 There are still free news servers available. My ISP bundles usenet,
 nevertheless I prefer the free one as it's faster and more reliable.


 The last ISP I knew had usenet complained about the bandwidth and
 storage required.  They had a dedicated satellite instead of using their
 backbone, and only cached a couple days.  All the porn and warez has the
 side affect of wiping out the cost benefit.

I have no idea whether my usenet provider includes porn or warez groups, 
since I am interested in neither, so have not checked.

All I know is that I use their service because it is free, reliable and 
fast.

Actually, I read this list via the usenet group 
gmane.os.freebsd.questions, since I find that convenient.


___
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: OT: The future of USENET?

2013-03-27 Thread C. P. Ghost
On Wed, Mar 27, 2013 at 9:37 PM, Joshua Isom jri...@gmail.com wrote:

 On 3/27/2013 3:25 PM, Walter Hurry wrote:

 On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote:

  Now there are very few, if any, free servers


 There are still free news servers available. My ISP bundles usenet,
 nevertheless I prefer the free one as it's faster and more reliable.


 The last ISP I knew had usenet complained about the bandwidth and storage
 required.


If they carried alt.binaries.*, then yes: it was a legitimate concern.
To carry those groups requires enormous bandwidth, and bandwidth
costs money, a lot of money. Storage isn't really an issue though.., even
with smallish retention periods of 60 days or so.

That's what commercial Usenet providers a la Giganews are for: they
have some very big pipes and the necessary storage infrastructure for
many-years retention, and can pay for all this through their subscribers
fees. I see no problems that regular ISPs dropped Usenet as part of their
standard offering, as long as alternatives such as those Usenet providers
are available for a couple of bucks per month to those who need them.


  They had a dedicated satellite instead of using their backbone, and only
 cached a couple days.  All the porn and warez has the side affect of wiping
 out the cost benefit.


-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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: Copying memstick image to a USB (flash/thumb) drive

2013-03-27 Thread Quartz



 Why exactly is the bs=10240 is there?  Wouldn't the default of 512
 do just as well?


Modern systems can read and write far more than 512 bytes per operation. 
Sticking with 512 would work perfectly fine, but you'd be imposing an 
unnecessary bottleneck and the copy would be a lot slower overall. 
Whether 10K is optimal or not depends on the exact hardware you're 
messing with (it looks pretty low to me, I'd suggest more like 1M).


__
it has a certain smooth-brained appeal
___
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