Can I learn the ip-address of the person whose comment is in my blog?
FreeBSD
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• RYXI
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

RYXI > FreeBSDGo to page: « previous | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | next »

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:
Friday, 4 August 2006
error with src update Adam Sean 19:37:09
 Hi,

I got the following error when I tried to update / checkout the source
with cvs:

# cvs co -r RELENG_6_STABLE src
cvs checkout: cannot find module `src' - ignored

I have already defined/created a checkout path as follow:
# echo $CVSROOT
/usr/local/ncvs

What have I missed in the process?

Thanks
comment 2 answer | Add comment
Problem with cups and openldap Mike Clarke 19:31:41
 I'm unable to start the cups daemon on my FreeBSD 6.1 system due to missing
libldap-2.2.so.7:

kestrel:/usr/local/­etc/rc.d# ./cupsd start
Starting cupsd.
/libexec/ld-elf.so1: Shared object "libldap-2.2.so.7" not found, required
by "cupsd"

The odd thing is that this doesn't appear to be dependency:

kestrel:/root# pkg_info -r cups-1.2.0 cups-base-1.2.0_2
Information for cups-1.2.0:

Depends on:
Dependency: pkg-config-0.20_2
Dependency: jpeg-6b_4
Dependency: png-1.2.12_1
Dependency: freetype2-2.1.10_3
Dependency: perl-5.8.8
Dependency: libiconv-1.9.2_2
Dependency: gettext-0.14.5_2
Dependency: libgpg-error-1.3
Dependency: libdrm-2.0.2
Dependency: tiff-3.8.2
Dependency: gsfonts-8.11_2
Dependency: libgcrypt-1.2.2_1
Dependency: expat-2.0.0_1
Dependency: gnutls-1.4.1
Dependency: fontconfig-2.3.2_5,­1
Dependency: xorg-libraries-6.9.­0
Dependency: ghostscript-gnu-7.0­7_15
Dependency: cups-base-1.2.0_2
Dependency: cups-pstoraster-8.1­5

But it certainly needs it:

kestrel:/root# ldd /usr/local/sbin/cup­sd
/usr/local/sbin/cup­sd:
libz.so.3 => /lib/libz.so.3 (0x280bb000)
libgnutls.so.13 => /usr/local/lib/libg­nutls.so.13 (0x280cb000)
libldap-2.2.so.7 => not found (0x0)
libcups.so.2 => /usr/local/lib/libc­ups.so.2 (0x2813a000)
libpthread.so.2 => /usr/lib/libpthread­.so.2 (0x28165000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x2818a000)
libc.so.6 => /lib/libc.so.6 (0x281a2000)
libgcrypt.so.13 => /usr/local/lib/libg­crypt.so.13 (0x2827a000)
libgpg-error.so.2 => /usr/local/lib/libg­pg-error.so.2 (0x282c5000)
libintl.so.6 => /usr/local/lib/libi­ntl.so.6 (0x282c9000)
libiconv.so.3 => /usr/local/lib/libi­conv.so.3 (0x282d2000)

I have openldap-client-2.3­.24 installed and it's needed by several packages
(en-openoffice.orgGB-2.0.3, kdeartwork-3.5.3, kdebase-3.5.3_4,
kdeutils-3.5.3 and librsvg2-2.14.4) so replacing it with
openldap-client-2.2­.30 doesn't appear to be an option.

How do I get round this?

--
Mike Clarke
comment 2 answer | Add comment
Is samba available any more for 6.1? Tim 14:11:17
 
Hi, I've a few months ago upgraded from 5.4 to 6.1 and have only just
recently tried to reinstall SAMBA on my 6.1 system, but it seems this is
not possible!?

Attempting to installing samba (samba-2.2.12) gives):

===> samba-2.2.12_2 is forbidden:
http://vuxml.FreeBS­D.org/3b3676be-52e1-­11d9-a9e7-0001020eed­82.html.
*** Error code 1
Stop in /usr/ports/net/samb­a.


And attempting to install samba3 (samba-3.0.23), which I used to use on
5.4, gives:

===> samba-3.0.23,1 broken kernel API until now (7-CURRENT).
*** Error code 1
Stop in /usr/ports/net/samb­a3.

Is there anything I can do except revert back to 5.4 and then jump to 7
when it's released?

Hope it's not this difficult! :)­

Cheers,

Tim
comment 3 answer | Add comment
network performance tunning Adam Sean 04:35:24
 Hi,

Is a good idea compile the following options when building a customized
router system?

options DEVICE_POLLING
options HZ=1000


Thanks
comment 2 answer | Add comment
Thursday, 3 August 2006
Re: nfs mounts when systems are turned off--the solution Dr. R. E. Hawkins 22:50:50
 On Tue, 25 Jul 2006 09:04:39 +0000, Michel Talon wrote:
Dr. R. E. Hawkins <dochawk@earthlink.­net> wrote:>> I have the three systems happily talking to each other with >> nfs mounts, but I'm still having problems when some get turned off.>>
I can't umount (even with -f), and anything such as a df hangs forever.>>
You should search the mailing lists, there are many complaints about this> problem. As far as i remember you should mount with the intr option, not the> soft option, to allow interrupting things.

Thanks. I've been dealing with everything but computers the last several
days.

And the final solution is:

*Both* bg and intr should be used. Without bg, the system will wait
forever for the nfs mounts on boot. The intr lets things behave when
another system goes down.

hawk
Add comment
CLustered PostGreSQL FreeBSD machines The Doctor 17:51:38
 Has anyone worked with PostGreSQL clusters in FreeBSD 4.X + ?

If so, how can this be effectively?
--
Member - Liberal International
This is doctor@nl2k.ab.caIc­i doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
Beware Linux the MS Windows of Unix! Demand UseNet an integral part of Internet!
comment 3 answer | Add comment
Multiple local networks and IPSEC Bert Moorthaemer 05:48:15
 Hi all!

I'm setting up IPSEC at the moment. Although I have no problems to setup
IPSEC between two endpoints and accessing the local network behind it, I
can't seem to find an example on how to setup IPSEC to be able to access
more than one local network behind an IPSEC gateway. The example given in
the FreeBSD manual doesn't mention it and I can't seem to find anything on
the net.

e.g. local-net-1 <-> router/switch <-> local-net-2 <-> BSD gateway #1 <=
Internet => BSD gateway #2 <-> local-net-3

In this situation in need to access local-net-1 from local-net-3

Q: How do I setup IPSEC (in combination with ipsec-tools) to accomplish
this?

TIA

Bert.


comment 1 answer | Add comment
Samba admin user Adam Sean 02:42:06
 Hi,

I m using Samba 2.x in freebsd 6.
Can anyone please tell me how to setup an admin user for samba?

Thanks
comment 9 answers | Add comment
Wednesday, 2 August 2006
very, very, very easy question about kernels Komes 21:05:33
 Hi,
Where can I find freebsd kernels; linux kernels shouldn't be used, should
they? I tried to look at freebsd.org, but I couldn't find.
Only hints about configuring and compiling kernel are published.
Thanks,
Komes

comment 2 answer | Add comment
arp -s PROBLEM: cannot intuit interface index... Favorites 11:29:43
 OS: FreeBSD 6.0-RELESASE
Problem description:
I want to add a permanent item to my arp list. I use:
arp -s 192.168.1.118 00:50:ba:dd:23:12
System replies:
cannot intuit interface index and type for 192.168.1.118

Why this happens? Please help me. Thanks.

comment 2 answer | Add comment
Automated SysAdmin; Dot Files; HP-UX porting (ver: Mar 6, 2006) Mike Peterson 10:23:56
 The automated system administration scripts, which are copies of the
scripts in active use on our Solaris 2.X, Linux (RedHat and Mandrake),
SGI IRIX 6.X, and FreeBSD 5.X systems; they also were used on
SunOS 4.1.X, HP (HP-UX 9.X), SGI (IRIX 5.X).
They are available as files 'autoadmin.shar.*' from URL:
http://www.noc.utor­onto.ca/~mikep/unix/­
(Note: these files were last updated Mar 6, 2006).

The dot file scripts, which are copies of the .cshrc / .login / .profile
/ etc scripts in active use on our Solaris 2.X, Linux (RedHat and Mandrake),
SGI IRIX 6.X, and FreeBSD 5.X systems; they also were used on
SunOS 4.1.X, HP (HP-UX 9.X), SGI (IRIX 5.X).
They are available as files 'dotfiles.shar.*' from URL:
http://www.noc.utor­onto.ca/~mikep/unix/­
(Note: these files were last updated Mar 6, 2006).

The BSD to HP-UX porting tricks, a set of notes and helpful C routines
for porting programs to HP-UX, are available from URL:
http://www.noc.utor­onto.ca/~mikep/unix/­HPTRICKS
This file also contains a driver program and functions to obtain the
load average on a wide variety of systems, including HP-UX, IRIX,
SunOS, Solaris, DEC OSF, Stardent(!), and even for systems with no
/dev/kmem access (or if you can't get your program to be setgid to the
"kmem" group because you do not have 'root' access).
(Note: this file was last updated Jun 16, 1999).
--
I planted some birdseed. A bird came up. Mike Peterson
Now I don't know what to feed it. U/T Network Security
E-mail: mikep@noc.utoronto.­ca Tel: 416-978-5230
WWW: http://www.noc.utor­onto.ca/~mikep/ Fax: 416-971-1362
comment 7 answers | Add comment
VPN server for Road Runner Adam Sean 07:26:39
 Hi,

Can anyone suggest a stable VPN dialup server for Road Runner?

Thanks
Add comment
ath0: device timeout Fredthetree 04:54:44
 [originally sent to freebsd-stable]


---------- Forwarded message ----------
From: fredthetree <fredthetree@gmail.­com>
Date: Fri, 12 Nov 2004 23:26:27 -0400
Subject: ath0: device timeout
To: freebsd-stable@free­bsd.org


Using 5.3-RELEASE-i386, I am not able to use my usb mouse while using
the internet through my Atheros 5212 wireless pci card.

Here's what I do:
$ startx
$ ping google.com
[move mouse]

Here's what happens:

ath0: device timeout
[X & mouse lock up]

$ dmesg
Copyright (c) 1992-2004 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 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004
root@harlow.cse.buf­falo.edu:/usr/obj/us­r/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (701.59-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x683 Stepping = 3
Features=0x387f9ff<­FPU,VME,DE,PSE,TSC,M­SR,PAE,MCE,CX8,SEP,M­TRR,PGE,MCA,CMOV,PAT­,PSE36,PN,MMX,FXSR,S­SE>
real memory = 536805376 (511 MB)
avail memory = 515633152 (491 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AWARD AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0x5000-0x500f,0x400­0-0x4041,0xcf8-0xcff­ on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0xe0000000-0xe3ffff­ff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0xf000-0xf00f,0x376­,0x170-0x177,0x3f6,0­x1f0-0x1f7 at device 7.1 on
pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x9000-0x901f
irq 10 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr
2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0: <multimedia, audio> at device 10.0 (no driver attached)
pci0: <input device> at device 10.1 (no driver attached)
pci0: <network, ethernet> at device 13.0 (no driver attached)
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 810C> MLC,PCL,PML
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 701593791 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 9536MB <Maxtor 5T010H1/TAH71DP0> [19376/16/63] at ata0-master UDMA33
acd0: CDRW <HL-DT-ST GCE-8525B/1.03> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
ath0: <Atheros 5212> mem 0xe8000000-0xe800ff­ff irq 10 at device 13.0 on pci0
ath0: mac 5.9 phy 4.3 5ghz radio 4.6
ath0: Ethernet address: 00:0f:3d:50:13:5c
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
ath0: device timeout
ath0: device timeout
ath0: device timeout
ath0: device timeout

$ ifconfig
plip0: flags=108810<POINTO­POINT,SIMPLEX,MULTIC­AST> mtu 1500
lo0: flags=8049<UP,LOOPB­ACK,RUNNING,MULTICAS­T> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
ath0: flags=8843<UP,BROAD­CAST,RUNNING,SIMPLEX­,MULTICAST> mtu 1500
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::20f:3dff:fe50­:135c%ath0 prefixlen 64 scopeid 0x3
ether 00:0f:3d:50:13:5c
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
status: associated
ssid NETGEAR 1:NETGEAR
channel 6 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode OFF weptxkey 1

$ wicontrol ath0
NIC serial number: [ ]
Station name: [ atlan ]
SSID for IBSS creation: [ ]
Current netname (SSID): [ NETGEAR ]
Desired netname (SSID): [ ]
Current BSSID: [ 00:09:5b:c9:b8:b8 ]
Channel list: [ ffe ]
IBSS channel: [ 6 ]
Current channel: [ 6 ]
Comms quality/signal/nois­e: [ 0 30 0 ]
Promiscuous mode: [ Off ]
Intersil-Prism2 based card: [ 1 ]
Port type (1=BSS, 3=ad-hoc): [ 1 ]
MAC address: [ 00:0f:3d:50:13:5c ]
TX rate (selection): [ 0 ]
TX rate (actual speed): [ 54 ]
RTS/CTS handshake threshold: [ 2312 ]
Create IBSS: [ Off ]
Access point density: [ 1 ]
Power Mgmt (1=on, 0=off): [ 0 ]
Max sleep time: [ 100 ]
WEP encryption: [ Off ]
TX encryption key: [ 1 ]
Encryption keys: [ ][ ][ ][ ]

$ less /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11­/rgb"
ModulePath "/usr/X11R6/lib/mod­ules"
FontPath "/usr/X11R6/lib/X11­/fonts/misc/"
FontPath "/usr/X11R6/lib/X11­/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11­/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11­/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11­/fonts/CID/"
FontPath "/usr/X11R6/lib/X11­/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11­/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "freetype"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "IBM"
ModelName "IBM G74"
### Uncomment if you don't want to default to DDC:
# HorizSync 30.0 - 69.0
# HorizSync 0.0 - 0.0
# VertRefresh 50.0 - 0.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Sorry for the length of this message, I didn't want to add a lot of
attachments..
BTW, I'm using 5.2.1-RELEASE right now, everything works perfectly. I
had configured both 5.2.1 and 5.3 the same, if there were differences,
it is in the default configuration.

$ less /etc/rc.conf

# -- sysinstall generated deltas -- # Fri Nov 12 11:32:10 2004
# Created: Fri Nov 12 11:32:10 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.co­nf.
# This file now contains just the overrides from /etc/defaults/rc.co­nf.
usbd_enable="YES"
network_interfaces=­"ath0 lo"
ifconfig_ath0="inet­ 192.168.0.3 netmask 255.255.255.0"
defaultrouter="192.­168.0.1"
hostname="atlan"

# end of file


I hope someone has a solution! I like a lot of things about 5.3.... :)­

Thanks,
-daniel.higham
___________________­____________________­________
comment 3 answer | Add comment
Kernelpanic while joining WLAN adhoc network Martin Etteldorf 01:09:10
 Hi,


I have a problem setting up an adhoc WLAN network
properly.
Scenatio:

Box1: Desktop-Machine, FreeBSD 6.0p7, D-Link DWL-G650+ PCMCIA-Card
with ndisulated drivers:
# kldstat
Id Refs Address Size Name
[...]
6 2 0xc0899000 c960 if_ndis.ko
7 3 0xc08a6000 173c4 ndis.ko
8 1 0xc08be000 17d5c FwRad16.bin.ko
9 1 0xc08d6000 6f768 GPlus_sys.ko
# ifconfig ndis0
ndis0: flags=8802<BROADCAS­T,SIMPLEX,MULTICAST>­ mtu 1500
ether 00:11:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 protmode CTS

Kernel Messages:
ndis0: <D-Link AirPlus G+ DWL-G650+ Wireless Cardbus Adapter> mem 0xfd960000-0xfd961f­ff,0xfd940000-0xfd95­ffff irq 16 at device 0.0 on cardbus0
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:11:xx:xx:xx:xx




Box2: Laptop, FreeBSD 6.1-RELEASE, D-Link DWL-G650+ PCMCIA-Card
with ndisulated drivers:
# kldstat
Id Refs Address Size Name
[...]
17 3 0xc08a7000 1853c ndis.ko
18 2 0xc08c0000 da00 if_ndis.ko
19 1 0xc08ce000 17d5c FwRad16.bin.ko
20 1 0xc08e6000 6f768 GPlus_sys.ko
# ifconfig ndis0
ndis0: flags=8802<BROADCAS­T,SIMPLEX,MULTICAST>­ mtu 1500
ether 00:11:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 protmode CTS

Kernel Messages:
ndis0: <D-Link AirPlus G+ DWL-G650+ Wireless Cardbus Adapter> mem 0x88020000-0x88021f­ff,0x88000000-0x8801­ffff irq 9 at device 0.0 on cardbus0
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:11:xx:xx:xx:xx


So far, everything seems fine, but...
I can do a

# ifconfig ndis0 inet xxx.xxx.xxx.xxx ssid MYNET mediaopt adhoc up

on either Box1 or Box2 and I can even "see" the other Box when
doing a

# ifconfig ndis0 up scan

on the other one. But as soon as I do a

# ifconfig ndis0 inet xxx.xxx.xxx.xxy ssid MYNET mediaopt adhoc

on the other box, Box2 (the Laptop) crashes with a kernel panic
in "Windows Workitem 1".
It doesn't matter which machine configures its interface first.
Even when I first set the IP on the interface on Box2 and after
that on Box1, Box2 crashes.


Any hints?


Martin

--
"For the Snark's a peculiar creature, that won't
Be caught in a commonplace way.
Do all that you know, and try all that you don't;
Not a chance must be wasted to-day!"
comment 1 answer | Add comment
Tuesday, 1 August 2006
Problem with "ifhp" script (not the executable with the same name) Frank Durda IV 12:07:45
 I recently upgraded a system from FreeBSD 4.10 to 6.1 and one of the
things that broke was the script /usr/local/libexec/­ifhp, which
I picked up from one of several places on the net, including this
newsgroup.

Unlike the binary executable "ifhp" (the port) which usually sits in
/usr/local/libexec/­filters/ifhp and assumes your printer is capable of
Postscript, /usr/local/libexec/­ifhp is a shell script that invokes
ghostscript and lets it do PostScript to PCL conversions for those of
us who have cheaper printers that do not have embedded Postscript
processing capability.

I have used this script for a couple of years as a if= filter and it
has worked fine. However, on upgrading to FreeBSD 6.1, the script
no longer works. The problems appears to lie in the bit of magic
the script does to force the results to stdout (for the pipe) while
forcing debug information from ghostscript somewhere other than stdout
(where it normally goes) so that the actual printer data doesn't get
mixed up with the Ghostscript commentary about the postscript code it is
reading.

A typical /var/log/lpd-errs entry is:

Error: /invalidfileaccess in --.outputpage--
Operand stack:
1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1061/1123(ro­)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
Current allocation mode is local
Last OS error: 45
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
Jul 31 12:21:45 nemesis lpd[22890]: lp2: job could not be printed (cfA274nemesis.lone­star.org)

Error 45 is:
#define EOPNOTSUPP 45 /* Operation not supported */


The key part of the script in question is:

#!/bin/sh
...
if [ "$first_two_chars" = "%!" ]; then
#
# It is PostScript; use Ghostscript to scan-convert and print it.
#
# Note that PostScript files are actually interpreted programs,
# and those programs are allowed to write to stdout, which will
# mess up the printed output. So, we redirect stdout to stderr
# and then make descriptor 3 go to stdout, and have Ghostscript
# write its output there. Exercise for the clever reader:
# capture the stderr output from Ghostscript and mail it back to
# the user originating the print job.
#
exec 3>&1 1>&2
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \
-sOutputFile=/dev/f­d/3 - && exit 0
else
...


If you run the Ghostscript command by hand, eg

/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 -sOutputFile=/tmp/o­ut1.pcl < /tmp/in1.ps >& /tmp/out2.log

the command shown works and /tmp/out1.pcl has the desired results in it
and /tmp/out2.log has the normal ghostscript complaint information
which can be discarded.

However, the scripted syntax fails FreeBSD 6.x (and perhaps 5.x),
probably because of the reference to /dev/fd/3.

Since this is a pipe filter, the PCL data must be emitted on stdout,
minus any other trivia Ghostscript feels compelled to report on stdout.
Is there a substitute tactic that would achieve the same results that
works under 6.1 other than using a temp file and cat-ing that to the pipe?


The original and complete ifhp script follows.


Frank Durda IV - send mail to this address and remove the "LOSE":
<uhclemLOSE.aug06%emesis.lonestar.org http://nemesis.lone­star.org
"I used to take unwanted Microsoft Compact Discs and use them as drink
coasters, but their CDs, like their software, have holes in them."
Copyright 2006, ask before reprinting.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#!/bin/sh
#
# ifhp - Print Ghostscript-simulat­ed PostScript on a DeskJet 500
# Installed in /usr/local/libexec/­ifhp

#
# Treat LF as CR+LF:
#
printf "\033&k2G" || exit 2

#
# Read first two characters of the file
#
IFS="" read -r first_line
first_two_chars=`ex­pr "$first_line" : '\(..\)'`

if [ "$first_two_chars" = "%!" ]; then
#
# It is PostScript; use Ghostscript to scan-convert and print it.
#
# Note that PostScript files are actually interpreted programs,
# and those programs are allowed to write to stdout, which will
# mess up the printed output. So, we redirect stdout to stderr
# and then make descriptor 3 go to stdout, and have Ghostscript
# write its output there. Exercise for the clever reader:
# capture the stderr output from Ghostscript and mail it back to
# the user originating the print job.
#
exec 3>&1 1>&2
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \
-sOutputFile=/dev/f­d/3 - && exit 0
else
#
# Plain text or HP/PCL, so just print it directly; print a form feed
# at the end to eject the last page.
#
echo "$first_line" && cat && printf "\033&l0H" &&
exit 0
fi

exit 2

comment 1 answer | Add comment
APM not working on old hardware Paulo Costa 06:26:59
 Hello everyone;

I have a couple of old computers which I use for access control to the
Internet through Squid and SquidGuard.
These computers both have slot 1 based motherboards and only one of them
mentions ACPI in it's BIOS settings. ACPI seems to be a no-go since the
output of 'dmesg' claims the BIOS is blacklisted and ACPI was disabled, on
both computers.
I added 'hint.acpi.0.disabl­ed="1"' to prevent any ACPI code from being
loaded, along with 'load_apm="yes"'. Also tried to compile a new kernel with
'device apm' but to no avail. Under no circumstance did a apm device show up
in the output of 'dmesg' nor the correspondent node devices under '/dev'
created.

Those motherboards are FIC VL-601 (Intel LX chipset) and DFI PB61 (VIA
Apollo chipset); I also tried the viapm module on the latter: while new
devices do show up, functionality does not. 'halt -p' just hangs the machine
after the power off message.
BIOS is the latest on both boards.
I'd like to hear from anyone who managed to get apm working on such hardware
since I'm clueless as what to do now...

Thanks in advance

Paulo Costa


comment 2 answer | Add comment
FreeBSD on Apple Intel Hardware Burkhard 02:31:35
 Hi all,

does anyone know about running FreeBSD on Apple hardware with Intel
processors, especially laptops?

I tried to google this, but i only got thousands of messages about Mac
OS X being a descendant from FreeBSD.

thank you
Burkhard
comment 2 answer | Add comment
Monday, 31 July 2006
Portupgrade needs updating Bert Moorthaemer 11:28:39
 Hi!

I'd like to know if it's problematic when updating portupgrade by using
portupgrade ... It seems a little bit strange to me that a port can be
updated using itself as the updater.

TIA

Bert.


comment 8 answers | Add comment
FreeBSD with Xeon motherboard Adam Sean 11:22:06
 Hi,

Which version of FreeBSD supports Intel Xeon motherboard?

Thanks
comment 1 answer | Add comment
HOME full - unable to boot John Richards 08:35:13
 I had a lovely installation of FreeBSD, but rashly tried to compile the
OpenOffice.org port with insufficient space/memory. It failed from lack
of sdpace and when I try to boot now I just get a HOME full, cannot boot
error.

The problem is compounded by the double facts that I had set it to boot
straight into KDM - and that it is booting from a Linux grub chainloader
command.

Is there any way I can get at it to clear the HOME slice?

I don't suppose there is a BSD equivalent of Knoppix!! - ?

Any help would be very gratefully received.

John Richards
comment 17 answers | Add comment
Back to slow-loading gnucash again Guest 08:12:40
 All,

I'm running gnucash-1.8.12 on a 6.1P3 box. It used to have the
'slow-loading' issue but some googling found an answer and a re-compile
from ports fixed everything. A few days ago I tried to load it and the
problem was back; I suspect a port I built had installed something new
(like guile, or slib or...something) that 'broke' the gnucash install.
I thought this would be a quick fix, but what I thought was the correct
pre-build command: env "libltdl_cv_sys_dlo­pen_deplibs=yes" doesn't seem
to work. Either I have the wrong command or the wrong argument or it's
not just gnucash that needs to be re-built here. Can anybody give me
the correct command for this and what all needs to be re-compiled after
applying it? I'm not happy that I didn't write it down the first time I
fixed it.
If not that, I will take the location of a proper gnucash-2.0(.0) port
tarball instead. I've just tried a 1.9.5 version but no matter how I
try to fake out the Makefile and distfile it won't build.

thanks,

r

comment 2 answer | Add comment
How to disable RIP in FreeBSD? Favorites 05:06:39
 Operating System: FreeBSD 6.1
Question:
1. I have configure my FreeBSD as a router successfully and my
FreeBSD works perfectly.
2. To do some experiments, I need to disable Dymatic Route in
FreeBSD, so it could not create route items automatically. And I can
add route items manually.

I found that FreeBSD creates dymatic route items by RIP or other
protocols. How can I disable it?

comment 4 answer | Add comment
Make package-recursive errors and incomplete port installs Vinny 02:41:02
 uname -a
FreeBSD the.palaceofretenti­on.ca 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Mon Jul 10
23:40:33 EDT 2006 rootatthepalaceofre­tention.ca:/usr/obj/­usr/src/sys/THE i386

the/root{107}/usr/p­orts/mail/mutt-devel­# make && make install
Success.

the/root{108}­/usr/p­orts/mail/mutt-devel­# make package-recursive
===> Building package for mutt-devel-1.5.12
Creating package /usr/ports/packages­/All/mutt-devel-1.5.­12.tbz
Registering depends: aspell-0.60.4_3 libidn-0.6.3 gettext-0.14.5_2
libiconv-1.9.2_2 libslang-1.4.9 mime-support-3.37.1­ pkg-config-0.20_2.
Registering conflicts: mutt-[0-9]*.
Creating bzip'd tar ball in '/usr/ports/package­s/All/mutt-devel-1.5­.12.tbz'
===> Generating temporary packing list
Creating package /usr/ports/packages­/All/aspell-0.60.4_4­.tbz
Registering depends: gettext-0.14.5_2 libiconv-1.9.2_2.
Registering conflicts: aspell-without-dict­en-0.*.
Creating bzip'd tar ball in '/usr/ports/package­s/All/aspell-0.60.4_­4.tbz'
tar: etc/aspell.ver: Cannot stat: No such file or directory
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/textproc­/aspell.
*** Error code 1

Stop in /usr/ports/textproc­/aspell.
*** Error code 1

Stop in /usr/ports/mail/mut­t-devel.
===================­==8<================­=

Other data:

the/root{310}~# ls -laR /etc | grep -i asp
the/root{311}~# ls -laR /usr/local/etc | grep -i asp
the/root{312}~#
(as expected given the error message emitted)

the/root{313}~# more /usr/ports/textproc­/aspell/pkg-plist
bin/aspell
bin/aspell-import
%%SCRIPTS%%bin/ispe­ll
bin/precat
bin/preunzip
bin/prezip
bin/prezip-bin
bin/pspell-config
bin/run-with-aspell­
%%SCRIPTS%%bin/spel­l
bin/word-list-compr­ess
etc/aspell.ver
[snip]

So aspell.ver is supposed to be installed.

From make:
===> Patching for mutt-devel-1.5.12
===> Applying distribution patches for mutt-devel-1.5.12
===> Applying FreeBSD patches for mutt-devel-1.5.12
===> mutt-devel-1.5.12 depends on executable: aspell - found

Seems the aspell port was already installed by something else.

the/root{320}~# cd /usr/ports/textproc­/aspell
the/root{321}/usr/p­orts/textproc/aspell­# make
Success
the/root{322}/usr/p­orts/textproc/aspell­# make deinstall
Success
the/root{323}/usr/p­orts/textproc/aspell­# make reinstall
[snip]
/usr/bin/sed -e "s|%%VER%%|0.60|" /usr/ports/textproc­/aspell/pkg-plist.en­ >> /usr/ports/textproc­/aspell/work/.PLIST.­mktmp
install -o root -g wheel -m 444 /usr/ports/textproc­/aspell/work/aspell.­ver
/usr/local/etc
===================­==8<=============

the/root{321}/usr/p­orts/textproc/aspell­# ls -laR /usr/local/etc | grep -i asp
-r--r--r-- 1 root wheel 164 Jul 27 22:41 aspell.ver

the/root{113}/usr/p­orts/mail/mutt-devel­# make package-recursive

Creating package /usr/ports/packages­/All/aspell-0.60.4_4­.tbz
Registering depends: gettext-0.14.5_2 libiconv-1.9.2_2.
Registering conflicts: aspell-without-dict­en-0.*.
Creating bzip'd tar ball in '/usr/ports/package­s/All/aspell-0.60.4_­4.tbz'
rmdir: /usr/ports/textproc­/aspell/work: Directory not empty
*** Error code 1 (ignored)
===> Generating temporary packing list
Creating package /usr/ports/packages­/All/libxslt-1.1.17.­tbz
[and so on]

=============8<====­==========

Problem solved. So my question is why wasn't all of aspell
installed initially? This is the third instance for me in which
a 'make package-recursive' has failed (for different ports)
due to a package building error generated by pkg_create caused
by missing files, which should have been installed, since they
were in the pkg-plist, but were not.

This is worrisome in that my convention of installing ports
using the following sequence of commands may be in error or
somehow not appropriate.

# make && make install
# make package-recursive
# make clean

Anyone else having experiences with ports not fully
installing? Anyone seeing these package-recursive errors?

One of the other ports that this occurred with was
xorg-libraries-6.9.­0 and the files listed below were
installed instead of the GL libraries:

the/root{329}/usr/X­11R6/lib# ls
[snip]
XXX-libGL.a.%%.xorg­-libraries-6.9.0
XXX-libGL.so.1.%%.x­org-libraries-6.9.0

I received a pkg_create error during package-recursive
based on the missing libGL.a and so on.

The fix was to make && make deinstall && make reinstall
but I'd really like to not have to do that.

Thanks for your patience and possible advice.

Vinny
comment 2 answer | Add comment
Sunday, 30 July 2006
How to write kernel modules Konstantin Miller 20:42:03
 Hi!

I wrote my first kernel module following the example in "man module".

Now I want to have two kernel modules and let one of them call a function
from another one. Could you please give me a hint how to do this?

Thanks

Konstantin
comment 2 answer | Add comment

Add new topic:

How:  Register )
 
Login:   Password:   
Comments by: Premoderation:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


RYXI > FreeBSDGo to page: « previous | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | next »

see also:
interesting NYT computer story
[OT] Community VS. Capitalism
Beta Launched For OpenOffice 2.0
pass tests:
kakaya tu koroleva zimu?
see also:
Sad
WELKOME to me deari!
I`m are new!i from russia.i spik ru...

  Copyright © 2001—2010 RYXI
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.ryxi.com.
Write in the community about the bugs you have noticedbugs.ryxi.com.
Write your offers and comments in the communities suggest.ryxi.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .