Re: sk0: watchdog timeout

2005-11-28 Thread Bernhard Fischer
> > If you change hardware settings, you should also maintain the same
> > settings on both ends of the wire, i.e. at the computer *and* the
> > ethernet switch.
>
> [SNIP]
>
> I just forced it to use 100baseTX /
> full-duplex which I think was used before I forced it as well.

That's exactly what I ment. If you force your sk0 to 100-full do the same with 
your switch. If you set sk0 to auto-config -- do it with your switch.

Watch your interface-counters: 

netstat -I sk0 -b -d -t

If the hardware (cards, cabeling, plugs, ...) is ok, there shouldn't be any 
errors for days or even weeks!

Regards,
bh


pgpYjJkaOjpYe.pgp
Description: PGP signature


Re: sk0: watchdog timeout

2005-11-28 Thread Bernhard Fischer
> >> ifconfig_sk0="inet 192.168.1.100 media 100baseTX mediaopt full-duplex
> >> netmask 255.255.255.0"
> >
> It appears the above hasn't helped me, it still goes down after copying
> about 10-15GB of data and I still have to bring the interface down and up
> again to regain connectivity. Thanks for the tip though, it was worth a try

If you change hardware settings, you should also maintain the same settings on 
both ends of the wire, i.e. at the computer *and* the ethernet switch.

Regards,
bh


pgpUMZMbOQegg.pgp
Description: PGP signature


Re: Accessing samba shares without password prompts

2005-11-22 Thread Bernhard Fischer
On Tuesday 22 November 2005 02:36, Robert Fitzpatrick wrote:
> Can someone point me to info on how to access shares on the netowrk
> without having to provide the password. I am logged in to my FreeBSD 6.0
> workstation with the user name and password equal to that of a user on
> the other samba servers and Windows.

I'm not sure if it also applies to FreeBSD but under Linux  you can specify 
the following mount options in /etc/fstab to a samba share:
credentials=/etc/samba/credentials

It points to a file (/etc/samba/credentials) which contains username and 
password in the format

username = someuser
password = somepass

The file should only be readable by root.

Regards,
bh


pgpS2rgM8QDxp.pgp
Description: PGP signature


Re: jobs of network layer in broadcast & PPP networks

2005-11-03 Thread Bernhard Fischer
On Thursday 17 November 2005 14:06, Mohsen Pahlevanzadeh wrote:
> Dears,I have 2 question :
> 1.What's job of network layers in broadcast networks?
> 2.What's job of network layer in PPP networks?


Both the same.
PPP and Ethernet (Multiple Access Broadcast) are one layer below network layer 
-> data-link layer. IP is covered within network layer.

Regards,
bh


pgpyfJNHtURpG.pgp
Description: PGP signature


Re: fsck question

2005-10-14 Thread Bernhard Fischer
On Friday 14 October 2005 13:56, J.D. Bronson wrote:
> shadow# fsck -f /dev/ad0s1d
> ** /dev/ad0s1d (NO WRITE)
> ** Last Mounted on /usr
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=1060395  OWNER=root MODE=100644
> SIZE=0 MTIME=Oct 14 06:50 2005
> CLEAR? no
>
> ..how can I find *this* file its not happy about?

The option -i of ls shows you the inode number of the files. So you could make 
an ls -lRi >tmpfile and then searching for the inode number within tmpfile.

Regards,
bh


pgpKNJl74ZHj1.pgp
Description: PGP signature


Re: suPHP - secure/reliable?

2005-10-10 Thread Bernhard Fischer
On Saturday 08 October 2005 02:14, M. L. wrote:
> Hi all,
>
> I'd like to know your opinions on suPHP. I was looking for some software
> that would execute PHP scripts as the user who owns them, instead of
> www, and came up with that. But the site is written in poor english, the
> software consists on a root setuid binary, so I'm a bit worried about
> the quality of this software.
>
> Does anyone have anything to say about suPHP, either good or bad stuff ?
> I'd like your opinions.
>
> Regards,
>
> M. L.

I don't know about suPHP but a chose a different way.
I'm running a server for about 200 users (students) and I wanted to offer them 
full Apache+PHP functionallity without any restrictions.
I decided to run 200 indepentent small Apache-Servers utilizing the 
worker-Modell and the PHP5 module. Each Apache is listening on a separate 
port (of course) and I use on master Apache with mod_rewrite to proxy 
requests to user_dirs to the appropriate port number.

Regards,
bh


pgpRaNNmJERci.pgp
Description: PGP signature


Re: Jail error ln operation not permitted

2005-06-28 Thread Bernhard Fischer
On Tuesday 28 June 2005 19:24, Casper wrote:
> Hi,
>
> I have setup 2 jails in FreeBSD 5.4
> when they start, abouth have some error for /dev/log...
> like that:
> #jail /jail/mail/ mail 127.0.0.2 /bin/sh /etc/rc
> Loading configuration files.
> mail
> Setting hostname: mail.
> ln: /dev/log: Operation not permitted
> Starting syslogd.
> ...
>
> Abouth jails seems to work ok, but I can`t debug them from logs or
> somewhere, where is problem... what is that?
>
> tnx,
> Casper
>

Try creating the link from outside the jail.

Regards,
bh


pgp713TqHJUaJ.pgp
Description: PGP signature


Re: Need your advise.

2005-06-23 Thread Bernhard Fischer
On Wednesday 22 June 2005 21:28, Nuttapon Tharachaikul wrote:
> To Support,
>  I'm interest on BSD-OS.
>  Please advise me , I'm new to study Linux.
>  1. After I created installation-CDROM. It was burned completly.
>  But I have a question about the following files ,Does it used for what
> ? - CHECKSUM.MD5

Using the MD5 checksum you can verify if the file you downloaded ist exactly 
the same as the file it should be, e.g. type md5sum 
5.4-RELEASE-i386-disc1.iso and compare the result.

>  2. I would like to know about the feature of BSD5.4 ,where can I check
> this. Please give me a shortly information that BSD5.4,i386, can handler
> about Clustering ,RAID and can support Physical Ram = 4 GB or not. Have any
> reference information's source the explain the purpose and how to handle of
> its.

Start reading this:
http://www.freebsd.org/releases/5.4R/relnotes.html

bh


pgpCcK8Q7NNZr.pgp
Description: PGP signature


Re: FreeBSD 5.4 X Org Fluebox Keyboard dont respond?

2005-06-15 Thread Bernhard Fischer
On Tuesday 14 June 2005 17:43, perikillo wrote:
>  For some problems with my last installation i decide to install again the
> system, freebsd 5.4 Release,
> make the cvsup to update my tree, compile my kernel to add my sound card
> and other things, install my ports and them upgrade my ports:
>
> test$ cd /usr/ports
> test$ make update
>
> The system update my ports. Ok this is only information, because i install
> Xorg from packages, the only thing i didnt install was the "Print Server"
> from the options, them use:
>
> test$ xorgconfig
>
> Setup my X system, every thing was right, write my file. I make the test:
>
> test$ startx
>
> My X system start, but still any answer from the keyboard, my mouse is
> working good, but the problem is that i cannot shutdown the X system using
> the "Ctrl+Atl+Backspace" because my Kbd is not working, i try to use the
> mouse menu to shutdown the system but no answer, the last thing to do was
> use the Reset button, is hard to make that decision, but was the only thing
> do. I read again the Xorg log under /var/log/ but i dont see any problems
> with the Kbd or mouse settings.
>
> After that, i decide to make the buildworld, after some hours i finish the
> installworld, builkernel+installkernel,mergemaster, my upgrade process was
> correct, any problems, them i decide to test again with my X system:
>
> test$ startx
>
> Any errors, but the system dont do nothing, any message or errors. Today
> after work i will try what fisher say using the XDM. Any information about
> this issue will be apreciated. In this moment my system dont have any
> Desktop system, only Xorg.
>
> Hey Fisher, did you install the xorg from ports or packages..?
>
> Good day to all.
>
> On 6/13/05, Bernhard Fischer <[EMAIL PROTECTED]> wrote:
> > Hy,
> >
> > I can confirm your problem for FreeBSD 5.4 amd64-RC3 and I got the same
> > problem with a Linux 2.6.8 on an ASUS-Laptop.
> >
> > Unfortunately I've no good solution but I'm fairly sure that the problem
> > is
> > related to the X.org <http://X.org> and not the OS.
> > I think there's something wrong in the communication between the keyboard
> > driver of the OS and the X server and (on my machines) it always apeared
> > only
> > when booting directly into X running xdm from inittab or /etc/rc.d.
> >
> > I figured out that booting to command line and then starting X manually
> > (by
> > typing xdm on a root shell) will not cause the problem.
> >
> > Regards,
> > bh
> >
> > On Sunday 12 June 2005 11:24, perikillo wrote:
> > > Hi all.
> > > I upgrade my Freebsd 5.3 Release to 5.4 Release using the cvsup system,
> > > make the buildworld+buildkernel+installkernel, and the others things,
> > > on that time my system was with the cvsup port only, them upgrade my
> > > ports, after the upgrade i decide to setup the Xorg server 6.8.2
> > > Package +
> >
> > Fluebox
> >
> > > ports. Follow the handbook setup and everything was good.
> > >
> > > But went i start fluxbox the system start but my keyboard dosent
> > > respond
> >
> > to
> >
> > > any thing, all the keys are disable, if i press many times one key dont
> > > make any noise, dont respond to Ctrl+Alt+Backspace even to
> >
> > Ctrl+Alt+Delete.
> >
> > > I read about on google, i make a lot of change on the
> > > /etc/X11/xorg.conf
> >
> > in
> >
> > > the keyboard label, change the driver to "keyboard" to "kbd" and vice
> > > versa, use a different type of Option's, us the default config from
> > > www.x.org <http://www.x.org><http://www.x.org>site.
> > >
> > > I check the /var/log/X?? log file but dont see any error about the
> > > settings.
> > >
> > > I really dont know what more to do, any help and information i will
> > > apreciate.
> > >
> > > My Computer:
> > > Motherboard P6SBA
> > > Pentium II
> > > Mouse USB This is working good
> > > kbd PS/2
> > > Freebsd 5.4 Release
> > >
> > > Thanks to all.
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


My Upgrade was successful!

I upgraded from 5.4-RC3 to 5.4-STABLE (amd64) using cvsup (the src-all branch) 
and rebuilt the whole system from source.

I did not reinstall or change anything else, neither X.Org nor KDE.
But now the keyboard works, even after directly booting into X (starting kdm 
from /usr/local/etc/rc.d).

I should also mention that I'm using a Keytronic keyboard, not a Fluebox as 
lined out in this thread.

Regards,
bh



pgp3UeCD8JkkF.pgp
Description: PGP signature


Re: FreeBSD 5.4 X Org Fluebox Keyboard dont respond?

2005-06-15 Thread Bernhard Fischer
>
> Hey Fisher, did you install the xorg from ports or packages..?
>
> Good day to all.
>

I installed from packages.
I'm currently running the make-buildworld-buildkernel...-procedure and will 
report my results afterwards.

Regards,
bh


pgp8QwYO7frF2.pgp
Description: PGP signature


Re: FreeBSD 5.4 X Org Fluebox Keyboard dont respond?

2005-06-12 Thread Bernhard Fischer
Hy,

I can confirm your problem for FreeBSD 5.4 amd64-RC3 and I got the same 
problem with a Linux 2.6.8 on an ASUS-Laptop.

Unfortunately I've no good solution but I'm fairly sure that the problem is 
related to the X.org and not the OS.
I think there's something wrong in the communication between the keyboard 
driver of the OS and the X server and (on my machines) it always apeared only 
when booting directly into X running xdm from inittab or /etc/rc.d.

I figured out that booting to command line and then starting X manually (by 
typing xdm on a root shell) will not cause the problem.

Regards,
bh


On Sunday 12 June 2005 11:24, perikillo wrote:
>  Hi all.
> I upgrade my Freebsd 5.3 Release to 5.4 Release using the cvsup system,
> make the buildworld+buildkernel+installkernel, and the others things, on
> that time my system was with the cvsup port only, them upgrade my ports,
> after the upgrade i decide to setup the Xorg server 6.8.2 Package + Fluebox
> ports. Follow the handbook setup and everything was good.
>
> But went i start fluxbox the system start but my keyboard dosent respond to
> any thing, all the keys are disable, if i press many times one key dont
> make any noise, dont respond to Ctrl+Alt+Backspace even to Ctrl+Alt+Delete.
>
> I read about on google, i make a lot of change on the /etc/X11/xorg.conf in
> the keyboard label, change the driver to "keyboard" to "kbd" and vice
> versa, use a different type of Option's, us the default config from
> www.x.orgsite.
>
> I check the /var/log/X?? log file but dont see any error about the
> settings.
>
> I really dont know what more to do, any help and information i will
> apreciate.
>
> My Computer:
> Motherboard P6SBA
> Pentium II
> Mouse USB This is working good
> kbd PS/2
> Freebsd 5.4 Release
>
> Thanks to all.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"



pgpTeLgMQUWMc.pgp
Description: PGP signature


Can't get running an AIT-50 tape drive in an CL-380 server

2005-06-10 Thread Bernhard Fischer
ccard code.
#device wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those parameters here.
#device an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device ie0 at isa? disable port 0x300 irq 10 iomem 0xd
#device le0 at isa? disable port 0x300 irq 5 iomem 0xd
#device lnc0at isa? disable port 0x280 irq 10 drq 0
#device cs0 at isa? disable port 0x300
#device sn0 at isa? disable port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
#pseudo-device  sl  1   # Kernel SLIP
pseudo-device   ppp 1   # Kernel PPP
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
pseudo-device   md  # Memory "disks"
pseudo-device   gif # IPv6 and IPv4 tunneling
pseudo-device   faith   1   # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
#pseudo-device  bpf #Berkeley packet filter

# USB support
#device uhci# UHCI PCI->USB interface
#device ohci# OHCI PCI->USB interface
#device usb # USB Bus (required)
#device ugen# Generic
#device uhid# "Human Interface Devices"
#device ukbd# Keyboard
#device ulpt# Printer
#device umass   # Disks/Mass storage - Requires scbus and da
#device ums # Mouse
#device uscanner# Scanners
#device urio# Diamond Rio MP3 Player
# USB Ethernet, requires mii
#device aue # ADMtek USB ethernet
#device axe # ASIX Electronics USB ethernet
#device cue # CATC USB ethernet
#device kue # Kawasaki LSI USB ethernet

# FireWire support
#device firewire# FireWire bus code
#device     sbp # SCSI over FireWire (Requires scbus and da)
#device fwe # Ethernet over FireWire (non-standard!)

options QUOTA


-- 

Bernhard Fischer [EMAIL PROTECTED]
Telekommunikation und Medien
Fachhochschule St. Pölten/St. Poelten University of Applied Sciences
Herzogenburger Straße 68 | 3100 St. Pölten | +43 (0) 2742 313228 615


pgpAMJK9pDT6a.pgp
Description: PGP signature