Re: Connecting subnet over PPP

2003-11-19 Thread Willie Viljoen
If you are seeing ARP requests for a subnet which is routed, it is more than
likely that some router somewhere doesn't know it is routed. ARP requests
are only sent when a system is trying to contact an IP address *it* believes
to be on the same physical network as itself. Make sure routers on your side
(before the FreeBSD box) know to route that subnet via the BSD box. Also,
make sure the subnet mask on the D-Link router at the client side is
configured correctly.

If all else fails, you might want to try doing proxyarp with pppoed, this is
problematic at best though, and should not be used if there is a router on
the other side, only if clients are routing directly via your pppoed, and if
the addresses are actually on a physical network on your side, and to be
mirrored to them. This is the wrong way to do it, but it is supported, as
many ISPs did this in the past... it was the only way to do it with Windows
NT RAS servers.

Will
- Original Message -
From: Colin Watson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 3:08 AM
Subject: Connecting subnet over PPP


 Hi,
I am using the userland ppp with pppoe daemon to setup a pppoe server
to
 authenticate incoming clients. I want to route a /29 subnet
(81.19.79.24/29)
 to a client. Now I authenticate via a radius server, which frames the IP,
 Protocol, and route attributes:

 Framed-Protocol = PPP
 Framed-IP-Address = 81.19.79.25
 Framed-Route = 81.19.79.24/29 81.19.79.25 1

 This appears to assign the connection without problem, and the machines on
 the clients side of the network, when assigned one of the subnet's IP's
have
 no issue pinging out to all hosts. However, when a remote PC attempts to
 access one of the public IP's - i.e. ping it - this fails. The FreeBSD
 Gateway / PPPoE Server shows lots of ARP unable to resolve messages - I
 presume this means it cannot find a mac address for the client. I have
 checked the routing table - netstat -ran, and an entry is created for the
 subnet in question (via the returned radius attributes):

 Internet Dest:  Gateway: Flags:Refs:  Use:  Netif:  Expire:

 81.19.79.24/2981.19.79.25UGSc1147tun0
 81.19.79.25 81.19.78.1UH0256tun0
 81.19.79.2500:05:5b:71..   UHLS2 00ste1

 A tcpdump of 'ste0' (the PPPoE Daemon Interface) from an IP the clients
 subnet pinging out, shows that the replies are occuring:

 17:29:28.984831 PPPoE [ses 0x1b] 81.19.79.25  81.19.79.34: icmp: echo
 request
 17:29:28.984831 PPPoE [ses 0x1b] 81.19.79.34  81.19.79.25: icmp: echo
reply

 However, if this role is reversed, and a remote IP - in this case
 81.19.79.34 (on a different /27 (32-63) network) attempts to ping a PC on
 the client network:

 17:37:45.214386 PPPoE [ses 0x1b] 81.19.79.34  81.19.79.25: icmp: echo
 request
 17:37:45.221413 PPPoE [ses 0x1b] 81.19.79.34  81.19.79.25: icmp: echo
 request
 17:37:45.223422 PPPoE [ses 0x1b] 81.19.79.34  81.19.79.25: icmp: echo
 request
 17:37:45.321455 PPPoE [ses 0x1b] 81.19.79.34  81.19.79.25: icmp: echo
 request
 17:37:45.623212 PPPoE [ses 0x1b] 81.19.79.34  81.19.79.25: icmp: echo
 request

 The client uses a D-Link Router which is set to allow all traffic - It is
of
 course possible this is misconfigured, however I would like to know if
this
 configuration *should* be working, or if I have made some grevious error
 somewhere, which is preventing the traffic reaching the clients network.

 Many Thanks

 Colin Watson.




 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to [EMAIL PROTECTED]



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(Solved) Strange dial-up related DNS problems

2003-07-31 Thread Willie Viljoen
I got it fixed (or atleast, as good as it can be fixed)

For future reference, here's what went wrong.

During the weekend, SAIX upgraded and repaired all Cisco equipment on their 
network. During this repair, they somehow managed to break something major. 
The /etc/ppp/options file on the offending BSD box contained the asyncmap 0 
option. This tells pppd not to escape characters leaving as part of packets 
that could be misunderstood as being controle characters by the other side.

This has been woking fine for a long time. however, during SAIX's tinkering, 
they managed to get their PPP gateways to not ignore controle characters 
coming in as part of IP packets, as they should be doing.

What was going wrong was that some part of the DNS query must have been seen 
as some arb. controle character. The machine then handled the packet 
incorrectly, and it never reached the NS it was meant for.

To fix this, just remove asyncmap 0 from your config file. This gives a 
slight performance hit, but with the wonderful resourcefullness of some 
ISPs, what can you do...

Origional message follows:

This gets a 10.0 on my weird-o-meter.

I have a FreeBSD 4.7-RELEASE machine sitting at a client which dials in and 
collects their mail via POP3, and sends outgoing mail via a smarthost which 
points to an SMTP server at their ISP.

This machine has worked fine since late last year, but started giving a 
strange problem this week.

When connected to their ISP, SAIX, the machine can ping any live internet IP 
and it can traceroute to anywhere, but, it can not talk to any DNS server. 
Any traffic to port 53 UDP simply seems to dissapear.

The same with firewalling enabled as normal, or even with ipfw add 1 allow 
ip from any to any

When connected to any other ISP we have tried dialing, all works perfectly. 
When dialed from another FreeBSD box with the same username/password, the 
SAIX connection works perfectly.

Yet, this single machine absolutely flat out refuses to talk to any name 
server while connected to SAIX, firewalling, no firewalling, no difference.

I have tried running tcpdump -i ppp0 udp port 53 in an attempt at capturing 
these packets, nothing, I also looked at rl0 just for interest's sake, 
nothing.

I have run out of ideas, what am I missing?

PS: Please CC me in the reply, I get so much list mail I might miss a reply 
there.
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange dial-up related DNS problems

2003-07-30 Thread Willie Viljoen
This gets a 10.0 on my weird-o-meter.

I have a FreeBSD 4.7-RELEASE machine sitting at a client which dials in and 
collects their mail via POP3, and sends outgoing mail via a smarthost which 
points to an SMTP server at their ISP.

This machine has worked fine since late last year, but started giving a 
strange problem this week.

When connected to their ISP, SAIX, the machine can ping any live internet IP 
and it can traceroute to anywhere, but, it can not talk to any DNS server. 
Any traffic to port 53 UDP simply seems to dissapear.

The same with firewalling enabled as normal, or even with ipfw add 1 allow 
ip from any to any

When connected to any other ISP we have tried dialing, all works perfectly. 
When dialed from another FreeBSD box with the same username/password, the 
SAIX connection works perfectly.

Yet, this single machine absolutely flat out refuses to talk to any name 
server while connected to SAIX, firewalling, no firewalling, no difference.

I have tried running tcpdump -i ppp0 udp port 53 in an attempt at capturing 
these packets, nothing, I also looked at rl0 just for interest's sake, 
nothing.

I have run out of ideas, what am I missing?

PS: Please CC me in the reply, I get so much list mail I might miss a reply 
there.
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange dial-up related DNS problems

2003-07-30 Thread Willie Viljoen
On Thursday 31 July 2003 0:16, someone, possibly Barney Wolff, typed:
 On Wed, Jul 30, 2003 at 11:16:37PM +0200, Willie Viljoen wrote:
  When connected to their ISP, SAIX, the machine can ping any live
  internet IP and it can traceroute to anywhere, but, it can not talk to
  any DNS server. Any traffic to port 53 UDP simply seems to dissapear.

 Sheer guess, but perhaps the PPP negotiation is giving them something
 weird (eg, 127.0.0.1) as the nameserver address.  Have a look at
 /etc/resolv.conf while they're connected and at the ppp log.

 Have you tried dig @server.ip some.host?
 Any internal firewall in place?  What do its logs/stats show?

Yes, from the other ISPs, dig @their.servers and dig @my.own.servers works 
fine. On SAIX, dig @anybody.server only gives me a timeout.

The box uses ipfw in a stateful setup, but even with that comletely out of 
the way, there's no difference.

/etc/resolv.conf is static, but the address in there is correct.

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with soundcard fm801 under 4.8RC1

2003-03-25 Thread Willie Viljoen
On Thursday 20 March 2003 19:33, someone, possibly Whyking, typed:
 Hi,
 my problem is still not fixed. I'm pretty sure by the time that the
 driver maybe just broken. When noone of you has an idea what the problem
 could be I gonna fill out a bug report. So any hints would be
 appreciated.

 Cheers,
 Whyking

I've been having a similar problem with an FM801 since 4.7-STABLE some time. 
I filed a report on GNATS but it seems to have never been delivered. I'll 
mail the maintaner of the driver and see if we can get him to take a quick 
look.

Will

 Please copy mail to [EMAIL PROTECTED], i'm not subscribed.

 On Sat, 15 Mar 2003 17:28:22 +0100

 Whyking [EMAIL PROTECTED] wrote:
  Sorry, i forgot. I ran mergemaster and just reran MAKEDEV all. Still
  doesn't work.
 
  On Sat, 15 Mar 2003 09:56:51 -0500
 
  Bill Moran [EMAIL PROTECTED] wrote:
   [please wrap your lines to a reasonable length]
  
   Whyking wrote:
Hello,
I have a huge problem trying to get my soundcard working. It worked
perfectly
   
 before I upgraded my system to 4.8RC1. Since I compiled the new
 kernel I always get /dev/dsp: Device not configured. It's a
 terratec 512i with an fm 801 chip (pci). I tried compiling the
 kernel with and without pcm support build in. The module loads
 without complaints and I see the soundcard in pciconf -l.
   
Thanks in advance,
  
   Did you run cd /dev; MAKEDEV all after the upgrade?  It will do
   this for you automatically when you run mergemaster.
  
   --
   Bill Moran
   Potential Technologies
   http://www.potentialtech.com

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Okano Mouse

2003-03-24 Thread Willie Viljoen
On Monday 24 March 2003 16:56, someone, possibly Pierrick Brossin, typed:
 Hey!

Hello :)

 I received that mouse from someone who got it in Germany and it seems
 it's impossible to find
 Okano's website!
 So I assume it's some kind of working/cheap/unknown mouse :)

Doesn't really matter, most weird-brand PS/2 mice these days either use 
some odd Logitech or MS IntelliMouse Explorer PS/2 compatible protocol. I 
have a Sahara mouse (completely unknown outside South Africa) which works 
perfectly.

 I tried the ZAxisMapping trick, I tried to set the mouse up in rc.conf
 and use sysmouse in X config file.
 And a lot of other stuff!

You might want to update the tricks you are trying, some things have changed 
since the HOWTOs and documentation was written, sadly, most people get it 
working and leave it at that, neglecting to update the docs.

 Do you have any advise or thing I could test to make the wheel work ?

Here are some snip-outs from my configuration files. The Sahara mouse has 
three buttons, of which the wheel is one, and two thumb buttons on the 
side. I have managed to get all of it working with these:

#/etc/rc.conf:
moused_enable=YES
moused_port=/dev/psm0
moused_type=auto
moused_flags=-z 4

Pay special attention to the -z flag, you'll see why just a few paragraphs 
down...

#/etc/X11/XF86Config:
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 7
Option  SampleRate 1500
Option  Resolution 1024
EndSection

If you do not have the thumb buttons, simply changing the 7 to a 5 in the 
buttons option should set it up for your mouse. The sample rate and 
resolution tweaks are there because my mouse is optical, and they help a 
great deal. If your mouse is optical, check its manual for optimal 
settings, if it's rubber ball mechanics, you should be able to take those 
out completely.

Note the absence of ZAxisMapping. This is because it's nolonger needed if 
you pass the -z switch to moused(8), which is the proper way of doing this 
on BSD these days. A setting of -z 4 means to map buttons 4 and 5, you can 
have finer controle over this too, check the moused(8) man page for 
details.

Hope this helps
Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: help with firewall log message

2003-03-24 Thread Willie Viljoen
On Monday 24 March 2003 17:34, someone, possibly Darryl Hoar, typed:
 Mar 24 08:06:43 darryl ipmon[98]: 08:06:42.283459 xl0 @0:3 b
 10.0.0.1,router -
 10.0.0.255,router PR udp len 20 72  IN

 what does it mean ?

I'd say it looks like what ever 10.0.0.1 is, is either running routed/gated, 
or is a hardware router. Either way, it's trying to do UDP RIP 
advertisements to the local broadcast address, to try and discover other 
routers on the network. If 10.0.0.1 is your firewall, and you don't need 
routed/gated (if you only have a default route out of there, you don't), 
you can disable it with /stand/sysinstall, in the networking options.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Okano Mouse

2003-03-24 Thread Willie Viljoen
On Monday 24 March 2003 17:55, someone, possibly Pierrick Brossin, typed:
 Hi!

Hey there,

 First of all, thanx for your answer!

No problem :)

 Should the mouse's wheel work on console ?
 Because I can move the cursor (as I could before) but the wheel is not
 working...

Nope, moused just doesn't know what to do with it, but you have to tell 
moused about it with -z, otherwise it forgets to forward the wheel data 
to X :)

 Wheel still not working under X.

Weird...

 I received no manual with it. It's real some kind of noname hardware!

Eek, you're on your own there I'm afraid :)

Does the output from dmesg mention the mouse at all? Maybe we can identify 
it from there...

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Forcing memory detection with MAXMEM?

2003-03-24 Thread Willie Viljoen
Hey,

After much struggle with the Asus P3V133 running an Intel processor with 
weird multiplier lock (mentioned on -hardware a few weeks back), I've 
fitted a second hand Abit BE6 I managed to pick up cheap...

This thing has an ugly intel BX chipset which only recognizes half of my RAM 
(two 256MB modules read as 128MB each). This is a known issue with the BX.

If I set MAXMEM in my kernel configuration to force FreeBSD to detect 512MB, 
would it work, despite the BX being crap?

Will
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Freebsd - restarting itself?!

2003-03-24 Thread Willie Viljoen
This is a wild guess, but it might be due to kernel panics related to write 
caching (which is on by default since 4.6) Such a panic will happen when 
ever heavy disc load occurs.

Try setting hw.ata.wc=0 in /boot/loader.conf and see if the problem goes 
away.

Will

On Monday 24 March 2003 21:20, someone, possibly Steve Warwick, typed:
 Hi All,

 Is it possible for FreeBSD to shut itself down and restart for no reason?

 My machine was restarted last night and my hosting company claims they
 did not touch the server or have any problems. This has been going of for
 a few months now -- intermittent restarts that no one claims
 responsibility for.

 This is a new machine with the latest OS (4.7) so I can't blame a faulty
 power supply or something like -- I have more fans than Britney in the
 server, for HD and CPU so I don't think it's a temp problem.


 Thoughts, suggestions?

 TIA


 Steve


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: can't get to ATA133

2003-02-27 Thread Willie Viljoen
On Thursday 27 February 2003 10:31, someone, possibly Len Conrad, typed:
 The ata driver is quite strict on standards implementation. It could be
  that the promise cables may not comply as strictly with the standard as
  it would prefer. Try getting 80-conductor cables from a third party.
  Generally speaking, buying your own cables is better than using the
  ones that came with the controller anyway, as those are usually
  el-cheapos, even with the most expensive controllers.

 One unreported point we later verified was in the TX2000 on-board setup
 util, Show Drive Status shows both drives as mode U6 (is ATA133).

Won't matter to ata(4), if it doesn't like your cables, it will force your 
drives down to UDMA2 at boot time. It could be that the cables still have 
abit more noise than the driver is willing to tolerate. A new set of cables 
won't cost you more than $5 each, try replacing the cables first. The 
80-conductor cables that came with my sister's motherboard and with my 
offboard ATA controller (CMD 649 variant) were both 80-conductor cables by 
the manufacturors' claims, but ata(4) was not interested.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: can't get to ATA133 (Addendum to previous post)

2003-02-27 Thread Willie Viljoen
On Thursday 27 February 2003 10:43, someone, possibly Willie Viljoen, typed:
 On Thursday 27 February 2003 10:31, someone, possibly Len Conrad, typed:
  The ata driver is quite strict on standards implementation. It could
   be that the promise cables may not comply as strictly with the
   standard as it would prefer. Try getting 80-conductor cables from a
   third party. Generally speaking, buying your own cables is better
   than using the ones that came with the controller anyway, as those
   are usually el-cheapos, even with the most expensive controllers.
 
  One unreported point we later verified was in the TX2000 on-board setup
  util, Show Drive Status shows both drives as mode U6 (is ATA133).

 Won't matter to ata(4), if it doesn't like your cables, it will force
 your drives down to UDMA2 at boot time. It could be that the cables still
 have abit more noise than the driver is willing to tolerate. A new set of
 cables won't cost you more than $5 each, try replacing the cables first.
 The 80-conductor cables that came with my sister's motherboard and with
 my offboard ATA controller (CMD 649 variant) were both 80-conductor
 cables by the manufacturors' claims, but ata(4) was not interested.

There are two things you might want to look at. First it trying to set the 
modes manually after boot. This is not recommended, and I would not do it 
unless on a read only file system, if setting the higher mode fails, or 
fails partially, you might be in for a world of trouble. To do this, you 
can try:

atacontrol mode ata4 udma6 ---
atacontrol mode ata6 udma6 ---

Also, you might want to look at the length of the cables. According to the 
Ultra-ATA (UDMA) standards, an 80-conductor cable must be no longer than 
30cm, or about 12. Cables of longer length begin to build up too much 
noise, even for the double-conductor design to combat. While Promise's BIOS 
and their own drivers (as seen on Windows) might tolerate these noise 
levels, I'm very sure ata(4) will not.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: can't get to ATA133 (Addendum to previous post)

2003-02-27 Thread Willie Viljoen
On Thursday 27 February 2003 11:08, someone, possibly Soeren Schmidt, typed:
  I've already thought of that and the guy on site says the Promise
  cables are 18 inches.

 Which is just about right...

 -Søren

Strange, I was told 30cm emphatically by our local techie, but Søren did 
write the driver, so he's probably more correct than my techie. My mistake 
:)

Søren, what else could be causing this? On bootup, Len's system complains:

 ad4: DMA limited to UDMA33, non-ATA66 cable or device
 ad6: DMA limited to UDMA33, non-ATA66 cable or device

Yet the controller's BIOS is satisfied with the cables, and they are within 
the length boundaries as you have correctly pointed out.

Any ideas?

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: can't get to ATA133 (Addendum to previous post)

2003-02-27 Thread Willie Viljoen
On Thursday 27 February 2003 11:30, someone, possibly Soeren Schmidt, typed:
  Strange, I was told 30cm emphatically by our local techie, but Søren
  did write the driver, so he's probably more correct than my techie. My
  mistake
 
  :)

 Well, point him at the ATA specs :)

It seems he was reading some manufacturor's own version of the specs, we 
just checked the official specs and you are right :)

  Søren, what else could be causing this? On bootup, Len's system 
complains:
   ad4: DMA limited to UDMA33, non-ATA66 cable or device
   ad6: DMA limited to UDMA33, non-ATA66 cable or device

 This is because the cblid bit in the disks indicate that the disk doesn't
 see the right cable (or rather the right signals it tests for).
 Since I dont have a dmesg from the system I dont know if there are other
 devices on the cable than the disks, as the most usual culprit here is
 an ATAPI device that doesn't like UDMA.

Len, post dmesg? :)

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Bring up KDE (3.1.0) start menu with a Windows key

2003-02-27 Thread Willie Viljoen
On Thursday 27 February 2003 14:45, someone, possibly Alistair Phillips, 
typed:
 Hi all,

 I was wondering if it was possible to bring up the KDE start
 menu when I press my Windows key on my keyboard?  I know
 the key code of that key (i think its 215 offhand) and I have
 used xmodmap to reprogram that key to display a comma for
 example.  Would be great to be able to bring up the KDE menu
 now!

Open the KDE control centre, then expand Regional and Accessibility, then 
open Keyboard Shortcuts. Expand the Panel tree and look at the Pop-up 
launch menu short cut option.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD 4.4 Questions

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 10:59, someone, possibly Neeraj Arora, typed:
 another good place to search for information would be the book

 the design and implementation of 4.4 bsd

Neeraj,

I might be completely off, but I think this book goes to 4.4BSD as it was 
published by UCB. This is very different from FreeBSD 4.4. 4.4BSD is what 
FreeBSD 1.0 (and everything following that) was based on :)

This would still be a good read to get some historical insights into the 
architecture of BSD though.

Will

  Willie Viljoen [EMAIL PROTECTED] 02/26/03 06:52PM 

 On Wednesday 26 February 2003 9:34, someone, possibly Aas, Eskild, typed:
  Dear Sirs
 
 
  We are three students attending Hærens Ingeniørhøgskole (the norwegian
  millitary engineering school). We are currently working on an
  assignment about operating systems. We are writing about FreeBSD 4.4.
  We would like to know if you can help us find , or tell us where we can
  find information about these following subjects:
 
  *   OS structure
  *   Process-handling
  *   CPU-handling
  *   Memory-handling
  *   Filesystem (implementation)
  *   I/O structure
  *   Security

 A good place to start would be the FreeBSD developer's handbook, this is
 available at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/inde
x.html

 It is not written specifically about 4.4, which has been deprecated for
 quite some time now, but focuses on FreeBSD in general, it should get you
 well on your way there though.

 Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Unable to set virtual screen smaller than physical screen

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 11:20, someone, possibly LEE TIAM KEAN, typed:
 Hi,
 i'm a beginner in Freebsd. I've set up x windows successfully but i found
 that the screen is larger than my monitor. i've tried the xf86config
 again by answering no when prompted with Want virtual screen larger than
 physical screen?. it still unsuccessful. Any other thing that i've
 missed out? I'm using version 4.7 of the FreeBSD. Thanks

Try configuring it with XFree86 -configure

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Need install help please

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 11:11, someone, possibly Ron Andreasen, typed:
 Primary Master - IBM 40 gb hard drive
 Primary Slave - Liteon CD-Rom
 Secondary Master - Maxtor 20 gb hard drive
 Secondary Slave - HP CD-Writer Plus 9100i

The problem here is with the UDMA (Ultra-ATA) standards. Drives that do UDMA 
above UDMA3  want to use an 80-conductor cable, as opposed to the 
40-conductor cable used by standard ATA.

Another problem is that UDMA devices (especially UDMA3+) should not be 
connected together with non-UDMA devices. While this should work according 
to the standards, many systems and driver/hardware combinations do not 
support it. According to the standards, these devices should also be 
willing to work on a 40-conductor cable, albeit at slower speeds. This is 
also not always the case. I have seen drive/controller combinations where 
systems refuse to boot if an 80-conductor cable is not used. The best way 
to solve this would be to make some changes to your configuration, here is 
a sugestion:

On an 80-conductor cable:
Pri. Master:IBM 40GB drive, at highest UDMA mode
Pri. Slave: Maxtor 20GB drive, at highest UDMA mode

On a 40-conductor cable:
Sec. Master:HP CD-Writer+ 9100i, PIO4 mode
Sec. Slave: Liteon CD-ROM, PIO4 mode

Note that while most CD-ROM/R/RW devices claim to support UDMA these days, 
very few of them actually do, and even with devices that do, PIO4 is still 
faster in the case of CD-ROMs, because of the way they work.

The problem that this set-up creates is that your drives are all still 
sharing cables. While there is nothing wrong with this, it will degrade 
performance, as IDE busses do not interleave. For a better solution, I 
would sugest you add a second ATA controller to your system

I have a controller based on the CMD649 chipset. Past CMD chipsets are 
famous for giving all sorts of trouble, but this one seems to behave, 
albeit that I need to disable write caching. The CMD649 comes on extremely 
cheap controllers, most in the sub $25 catagory, but they work just fine 
for what is needed.

If you can get your hands on such a controller, you should use a set-up like 
this:

Motherboard ATA controller:
Pri. Master:Liteon CD-ROM   (PIO4, 40-c cable)
Sec. Master:HP CD-Writer+ 9100i (PIO4, 40-c cable)

Here we make the HP secondary, because most boards will want to boot from 
the first CD-ROM, and you should be saving the writer for writing. The same 
could apply for my example earlier.

Then...

Offboard ATA controller:
Pri. Master:IBM 40GB(highest UDMA, 80-c cable)
Sec. Master:Maxtor 40GB (highest UDMA, 80-c cable)

Note that your BIOS will not directly list these drives as bootable. The 
offboard ATA controller will have its own BIOS. To get your motherboard 
BIOS to hand booting over, set it to boot from SCSI Boot Device or 
SCSI. The ATA controller will then grab controle and do the boot.

You can also invert the order of devices, and have the CD-ROMs on the 
offboard controller, but because it is newer, the offboard will most likely 
support higher UDMA speeds than the onboard one, and only the onboard 
controller will be able to perform a CD-ROM boot.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: cat

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 18:56, someone, possibly Tijl Coosemans, 
typed:
 I want to remove CRs from text files so what I did is this:

 cat filename | tr -d '\r'  filename

 However, I often end up with an empty file. Just out of
 interest, somebody who knows why that is?

Not a clue, but a tool to do this safely called dosunix is available in 
ports :)

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 19:42, someone, possibly Michael Sharp, typed:
 I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
 actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
 with it under burncd?

In addition to working with burncd, you can also get this drive to work with 
cdrtools if you want by making it appear to be a SCSI device. You will need 
a 4.7-RELEASE or newer system (check the Handbook for upgrading 
instructions) and you will need to recompile your kernel with atleast:

device  ata
device  atapicd
device  atapicam
device  scbus
device  pass
device  cd

Some IDE CD-R/RW devices will only work this way... those that do not 
implement the standards that SS adheres strictly to in the burncd code. 
However, this drive, according to numerous posts, will work fine, and does 
implement those standards (which is rather impressive)

The advantage to using it with ATAPICAM rather than burncd is that you will 
also be able to use the other tools from the cdrtools package, cdrecord, 
cdda2wav, etc, and the numerous front ends that have been designed for 
them.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: can't get to ATA133

2003-02-26 Thread Willie Viljoen
On Thursday 27 February 2003 1:01, someone, possibly Len Conrad, typed:
 FreeBSD 4.7R

 Promise TX2000 with two ATA133 drives as ata masters using the ATA133 IDE
 cables that came with the TX2000.

 dmesg shows:

 ad4: DMA limited to UDMA33, non-ATA66 cable or device
 ad6: DMA limited to UDMA33, non-ATA66 cable or device
 ar0: 39083MB ATA SPAN array [4982/255/63] status: READY subdisks:
   0 READY ad4: 39083MB Maxtor 6Y040L0 [79408/16/63] at ata2-master
 UDMA33 ar1: 39083MB ATA SPAN array [4982/255/63] status: READY
 subdisks: 0 READY ad6: 39083MB Maxtor 6Y040L0 [79408/16/63] at
 ata3-master UDMA33

 Anybody know why TX sees only 33?

The ata driver is quite strict on standards implementation. It could be that 
the promise cables may not comply as strictly with the standard as it would 
prefer. Try getting 80-conductor cables from a third party. Generally 
speaking, buying your own cables is better than using the ones that came 
with the controller anyway, as those are usually el-cheapos, even with the 
most expensive controllers.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: i got a problem

2003-02-26 Thread Willie Viljoen
On Thursday 27 February 2003 8:22, someone, possibly ChRis, typed:
 Hi, I'm a big fan of FreeBSD and have been using it
 for a while, well my 4.0 software CD got messed up so
 I had a friend get me 4.7, the installation went well
 it's all installed, my problem is with the X
 interface. When I start X my mouse icon dissappears
 when I touch my mouse. And then it ends up in the top
 right corner of the screen. I have tried various ways
 to fix the problem but none have worked. I was
 wondering if you knew what the problem was, or if
 anyone else has reported this with the 4.7 realease.
 Please write me back and let me in on what you think
 is going on. Thanks alot.

Chris,

This is usually an error with the protocol of the mouse. Try reconfiguring 
XFree86 with XFree86 -configure. Then make sure that the mouse is set up 
properly. If it was working correctly when you checked it in sysinstall (if 
you enabled mouse support there), you can make X use that pipe by 
connecting it to moused. To do this, set:

Option  Protocol auto
Option  Device /dev/sysmouse

In your /etc/X11/XF86Config.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ATA/IDE Controller question

2003-02-26 Thread Willie Viljoen
On Thursday 27 February 2003 9:02, someone, possibly Ron Andreasen, typed:
 I just looked at the FreeBSD hardware list and saw all
 those contollers there.  Are any of those ISA devices
 or are they all PCI?

 I only have 3 PCI slots and they're all being used by
 stuff I can't give up (video card, sound card, and
 modem).  So if they are all PCI devices will ISA
 contollers still get the job done?  I'd be using it in
 FreeBSD 5.0.

I think most of these devices will be PCI, and some of them, chipsets of 
integrated devices on the motherboard.

The problem with an offboard ISA controller, even though you could 
theoretically add one, is that it would clash with the I/O ranges of the 
on-board controller, and you will still only be able to use two channels.

ISA offboard controllers were phased out years ago, even finding one would 
be an achievement in its own.

Seriously though, I would take out the PCI modem, if it's an analogue 
anyway, those are known to cause trouble and chew up CPU time, an external 
modem would be a much better option, and you'd have a free slot. The same 
goes for ISDN modems actually.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: fm801 FreeBSD5.0-RELEASE

2003-02-26 Thread Willie Viljoen
On Thursday 27 February 2003 9:12, someone, possibly Alexey V. Litvinov, 
typed:
 Hi All!

 I have installed 5.0-RELEASE and have a trouble to configure my Genius
 Sound Maker Live soundcard based on ForteMedia 801 chip
 I'm added next line to KERNELCONFIG file:
 device pcm

I have the same card, it hasn't worked since some time during 4.6. I've been 
hoping somebody else would send a PR, but it doesn't seem to have happened, 
I've been happily using my old SB16 in the mean time.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: fm801 FreeBSD5.0-RELEASE

2003-02-26 Thread Willie Viljoen
On Thursday 27 February 2003 9:22, someone, possibly Willie Viljoen, typed:
 On Thursday 27 February 2003 9:12, someone, possibly Alexey V. Litvinov,

 typed:
  Hi All!
 
  I have installed 5.0-RELEASE and have a trouble to configure my Genius
  Sound Maker Live soundcard based on ForteMedia 801 chip
  I'm added next line to KERNELCONFIG file:
  device pcm

 I have the same card, it hasn't worked since some time during 4.6. I've
 been hoping somebody else would send a PR, but it doesn't seem to have
 happened, I've been happily using my old SB16 in the mean time.

PR has been sent.

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Question

2003-02-26 Thread Willie Viljoen
On Wednesday 26 February 2003 9:25, someone, possibly Darryl C Price, typed:
 I see a lot of message traffic on the net from people, like me, who are
 having problems with PAM authentication via LDAP.   Why don't you guys
 focus on delivering a pam_ldap module that works without a lot of
 jumping through hoops?

 =Darryl

Darryl, I think -dev or one of the more sepcific lists would be a better 
place to ask your question, -questions is mostly support.

The standard answer though is that people can't focus on one thing all the 
time, I'm very certain somebody is already working on a better pam_ldap 
module, but since FreeBSD is developed by volunteers in what little free 
time they have, these things will take time, unfortunately.

I think Bill Paul answered this question rather well in -current and -net 
earlier, Bill writes:

 Not unless it's something I can fix using easily available resources.
 I can't easily drop everything and slap together a test setup with
 exactly the right software and hardware I need to debug everyone's
 particular problem. (This bug only occurs in -CURRENT as of 30
 seconds ago and on an UltraSPARC 10 with 16 if_dc interfaces and
 I need you to fix it _NOW_ pleasepleasepleaseI'llevengiveyouahandjob.)

While that is a slightly different context, the same principle applies, 
things take time. :-)

Perhaps you should submit this as a PR sothat it can be asigned to a group 
of developers.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: scroll mouse

2003-02-25 Thread Willie Viljoen
On Tuesday 25 February 2003 21:11, someone, possibly joshua lokken, typed:
 /usr/X11R6/lib/X11/XF86Config
 ...
 Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol MouseSystems
 Option Device /dev/sysmouse
 Option Buttons 5
 Option ZAxisMapping 4 5
 EndSection

 You can try using the Auto protocol, that's always worked for me.  I
 don't spot any [obvious] problems...

 Joshua

Joshua is spot on. With any PS/2 mouse that is properly supported by moused, 
you should use the auto protocol in your XF86Config. The reason for this 
specific problem is that the MouseSystems protocol (which is the obsolete 
protocol that used to be used for 3 button mice) does not have a Z axis. 
The auto protocol will work just fine though.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: freebsd 5.0 + monitor settings

2003-02-25 Thread Willie Viljoen
On Tuesday 25 February 2003 21:08, someone, possibly Richard morris, typed:
 I was wondering is it possible or if i can change the refresh rate on
 XF86Config file. I've seen a line in the file that says vertrefresh 50 -
 120 i was wondering if i can just have one value there and if that would
 change my refresh rate on my monitor because my screen is out of range at
 certain resolutions. that is why i need to change my refresh rate. I can
 assure you that the resolutions i use are supported by the monitor and
 video adaptor.

The information you need is in the XF86Config(5) manpage, but the briefe 
version follows:

There are infact two settings you can use in the monitor section to do this. 
The HorizSync options sets horizontal syncronization frequency, and 
VertRefresh sets the (vertical) refresh rate.

The easiest way to do this, if you know the exact refresh rates your monitor 
wants for these resolutions, is to set them like this: (For a monitor that 
wants 68.5KHz horizontal and 85.0 vertical)

HorizSync   68.5
VertRefresh 85.0

Be warned, this will force XFree86 to operate ONLY at those refresh rates. 
This will disable all modes that do not function properly at those rates. 
You may want to include values for each mode your monitor supports and 
which you want to use, this can be done like:

HorizSync   31.5,68.5
VertRefresh 60.,85.0

The standard setting is to specify a range of possible values, and let the 
video card BIOS take its pick. Most people have non-standard monitors 
though. These do not follow VESA specifications and will behave strangely 
with range settings. Even so, setting a range is still optimal, and if you 
monitor supports digital controle, I would sugest rather setting the 
monitor to the proper CRT limits than limiting refresh rates available to 
your system.

 I WOULD APPRECIATE IT IF I CAN GET SOME HELP ON THIS
 SUBJECT.

Totally off topic, but I must have my 2 cents worth. An all capitals line of 
text is widely considered to be shouting according to internet conventions.

Those who answer questions on this list do so without receiving 
compensation, and in some cases, without even receiving thanks. This is a 
service that we provide as volunteers, and we attempt to do our best at it. 
Being shouted at is not nice though, and we would appreciate if you ask 
politely in the future.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD 4.4 Questions

2003-02-25 Thread Willie Viljoen
On Wednesday 26 February 2003 9:34, someone, possibly Aas, Eskild, typed:
 Dear Sirs


 We are three students attending Hærens Ingeniørhøgskole (the norwegian
 millitary engineering school). We are currently working on an assignment
 about operating systems. We are writing about FreeBSD 4.4. We would like
 to know if you can help us find , or tell us where we can find
 information about these following subjects:

 * OS structure
 * Process-handling
 * CPU-handling
 * Memory-handling
 * Filesystem (implementation)
 * I/O structure
 * Security

A good place to start would be the FreeBSD developer's handbook, this is 
available at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html

It is not written specifically about 4.4, which has been deprecated for 
quite some time now, but focuses on FreeBSD in general, it should get you 
well on your way there though.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: No subject was specified.

2003-02-25 Thread Willie Viljoen
On Tuesday 25 February 2003 17:42, someone, possibly Wolfpaw - Dale Corse, 
typed:
 Hats off to you Bill :)

 Satanic Imagery.. LOL.. I always thought he was cute :)

 D.

Well, that's the problem with the internet today... now that people are 
making money from letting every Tom, Dick and Harry, so to speak, get on, 
we will just be getting more and more crackpots... oh well...

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: No subject was specified.

2003-02-25 Thread Willie Viljoen
On Tuesday 25 February 2003 20:36, someone, possibly Wolfpaw - Dale Corse, 
typed:
  now that people are making money from letting every Tom, Dick and
 Harry, so to speak, get on 

 That sounds dangerously close to the theories of a dictator, or a
 repressive government.. Russia and China come to mind. Why shouldn't they
 get on? It is a public internet after all. I don't know what country your
 in, but here we have something called the Charter of Rights and
 Freedoms which is supposed to entail freedom and equality for all.

Oh don't get me wrong, I don't mind anybody getting on, but it would be nice 
if ISPs would atleast take the responsibility to educate their users before 
they let them on.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: firewall/nat Web Hosting architecture

2003-02-24 Thread Willie Viljoen
On Tuesday 25 February 2003 0:44, someone, possibly Guilherme J. R. 
Oliveira, typed:


 - if the public ip's adress's will be served with bind then it must be
 installed in the same box as firewallnat. True ? But I wish that bind
 stays behind the firewall. - I have only 2 public ip's that must be
 assigned (i think) to bind and secondary_bind. How can I acess to iis
 and/or apache server independently from internet ?


This creates a few problems for routing, but all can be overcome. What you 
want to do is add your public IPs as aliases on your firewall/NAT machine. 
You can do this by putting these in rc.conf, right under the current 
interface address. This assumes your interface to the outside world is 
fxp0:

ifconfig_fxp0=inet 20.4.37.34 netmask 255.255.255.252
defaultrouter=20.4.37.33
ifconfig_fxp0_alias0=inet 20.4.40.137 netmask 255.255.255.252
ifconfig_fxp0_alias1=inet 20.4.40.138 netmask 255.255.255.255

You would have to get the proper netmask from your ISP, these would only 
work in very obscure routing conditions (but most ISPs that enforce NAT on 
their customers would also use something weird like this)

Then, give your servers internal addresses and add appropriate static NAT 
rules to pass all traffic for those IPs directly to them.

If you can get your ISP to give you a routable range instead, that is still 
the best though.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: libvorvisfile.la vanished?

2003-02-23 Thread Willie Viljoen
Try portupgrade -rR kdegames :)

On Sunday 23 February 2003 10:51, dick hoogendijk wrote:
 After a portupgrade -R dontremember something's changed w/
 libvorbis. Portupgrade -R kdegames3 won't compile cause of a missing
 /usr/local/lib/libvorbisfile.la The old kdegames-3.0.3 stayes and the
 new 3.1 doesn't compile ;-((

 I've no idea what happened. I guess libvorbis changed somewhere but I
 have no idea how to proceed now.
 Does anybody know where this libvorbisfile.la come from and why it's
 gone now. How do I portupgrade kdegames to the right 3.1 version at this
 moment? What steps do I need to take?

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: libvorvisfile.la vanished?

2003-02-23 Thread Willie Viljoen
It depends what you want to do really. If you are upgrading something which 
has very little dependancies, and on which very little depends, portupgrade 
package will do, but for anything that is so interdependant as KDE, -rR 
is a must.

Will

On Sunday 23 February 2003 11:16, dick hoogendijk wrote:
 On 23 Feb Willie Viljoen wrote:
  Try portupgrade -rR kdegames :)

 I will..
 Can it be _this_ simple?

 This leads me to another question:
 Is there a *right* syntax to use portupgrade for most cases?

 I mean: portupgrade package is not enough most of the time (?)
 Or do I have to use different options in all kind of different
 situations? :-((

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Kill while compiling release 4.7

2003-02-23 Thread Willie Viljoen
On Sunday 23 February 2003 17:14, Martin Schweizer wrote:
 In the same time it occurs a out of swap error in /var/log/messages but
 df output seem like normal, enough of space on all slices.
 What is going wrong?

df doesn't show swap space, it only shows information for filesystems. 
FreeBSD does not use (by default) an on-filesystem swap file such as MS 
family systems do, it uses a seperate partition as swap space.

To check how your swap space is being used, you may view the output from 
pstat -T

Be advised the to do a make world reliably, you will almost always need 
atleast 128MB of swap on systems with average physical memory, and atleast 
256MB if your system has low physical memory.

Other workarounds could be to perform the build process in single user mode, 
sothat no other applications are using memory, but look at swap space 
first.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Kill while compiling release 4.7

2003-02-23 Thread Willie Viljoen
On Sunday 23 February 2003 21:18, someone, possibly Martin Schweizer, typed:
 Hello Willie

 How I do add more swap space?


Martin, there's an extended tutorial on adding and managing swap space in 
the FreeBSD Handbook. If you have installed the doc distribution (standard 
with most install options), you can read this in HTML form at:

/usr/share/doc/handbook/adding-swap-space.html

If you did not install doc, you can either get it quickly with 
/stand/sysinstall, or you can read the chapter in the online version of the 
Handbook at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html

If you prefer, the Handbook is also available from your local system in 
German (if you have installed doc) and you can read this chapter in German 
from:

/usr/share/doc/de_DE.ISO8859-1/books/handbook/adding-swap-space.html

Or, if you like to use the on-line version, the German translation is at:

http://www.freebsd.org/doc/de_DE.ISO8859-1/books/handbook/adding-swap-space.html

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: booting from Promise tx2000

2003-02-23 Thread Willie Viljoen
On Monday 24 February 2003 2:52, someone, possibly Len Conrad, typed:
 fbsd 4.7 release

 no drives on motherboard ata channels

 one ATA Master drive on each TX2000 IDE channel  (no Array is defined, we
 just want two independent disks for now)

 fbsd cdrom boots, finds the disks and installs fbsd.

 we choose boot manager because we typically have our system fail to boot
 without boot manager (fbsd 3 and 4 has has this pb) so we always install
 boot mgr and live with the additional timeout.

 booting never gets to fbsd boot mgr menu.

 we´ve disabled a bunch mobo i/o devics we don't need and can see no PCI
 IRQ conflicts.

 any ideas?

If your BIOS supports this, try setting the boot device in CMOS 
configuration to SCSI Boot Device. The problem is that the offboard ATA 
controller you are using has its own BIOS, thus the system BIOS will not 
boot a disk attatched to it. Setting SCSI boot device will mostly make your 
BIOS offer to hand booting over to what ever device offers to take it. Most 
(modern) ATA controllers respond to the call for a SCSI boot device and 
take controle, then booting the system from the hard drives they own.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Apache2 Port FrontPage Extensions

2003-02-23 Thread Willie Viljoen
On Monday 24 February 2003 4:38, someone, possibly Chris Phillips, typed:
 Have I done wrong by installing apache2 instead of 1.3?  I hope not.
 I'd rather not post here as I feel like I am a pest.  Any links that
 people have found useful themselves, would be much appreciated, so I can
 go away  RTFM.

Unfortunately, the FrontPage extensions for Apache are a third party module, 
and the author has not yet implemented the module for Apache 2 (which at 
this stage is still widely considered a development or semi-production 
release, but 1.3 remains the standard production release). To get FP 
extensions, you should first remove Apache 2, and then install the 
apache13-ftp port.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Apache2 Port FrontPage Extensions (Errata)

2003-02-23 Thread Willie Viljoen
A quick fix to a mistake I made in my previous post:

On Monday 24 February 2003 8:47, Willie Viljoen (in error) typed:

 To get FP extensions, you should first remove Apache 2, and
 then install the apache13-ftp port.

This should infact read apache13-fp, not -ftp. Sorry

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Opera 6.11 on FreeBSD 5

2003-02-22 Thread Willie Viljoen
This is happening because the Opera 6.11 installed from ports is still a 
binary (Opera will *NEVER* open source)

To get this running, you will need compatibility options with 4.7. In 
kernel, you will need options COMPAT_FREEBSD4 and you will also need to 
have installed the compat4x libraries.

Will

On Saturday 22 February 2003 12:26, Wayne Pascoe wrote:
 Hi all,

 I'm trying to run opera on FreeBSD 5.0. I've installed from ports which
 installed version 6.11

 When I run opera, I get the following output:

 $ opera
 Segmentation fault (core dumped)

 Doesn't matter if I run as a user or as root, the same thing happens.
 Does anyone have Opera working on FreeBSD 5 ?

 TIA,

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Opera 6.11 on FreeBSD 5

2003-02-22 Thread Willie Viljoen
On Saturday 22 February 2003 13:44, you wrote:
 On Sat, Feb 22, 2003 at 01:25:20PM +0200, Willie Viljoen wrote:
  This is happening because the Opera 6.11 installed from ports is still
  a binary (Opera will *NEVER* open source)
 
  To get this running, you will need compatibility options with 4.7. In
  kernel, you will need options COMPAT_FREEBSD4 and you will also need to
  have installed the compat4x libraries.

 Baie Dankie! :)

 Seriously though, thanks... On the same topic, does the native FreeBSD
 version have a flash plugin available, or am I better off using the
 Linux compatible version ?

If you wish to have an official implementation, you should use the Linux 
compatibility mode plugin. However, if you want an open source, 
cross-platform, native plugin, you can use the unofficial (not made by 
Macromedia) implementation, which can be installed automatically with 
portinstall flashplayer (make sure your ports are up to date)


 thanks again...

No problem :)

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: ssh(d) problems between FreebSD and Linux Systems

2003-02-22 Thread Willie Viljoen
On Saturday 22 February 2003 15:01, Cliff Sarginson wrote:
 Hello,
 Behind my firewall I am trying to set up password-free ssh between the
 various systems. I have come across a curious problem. From a BSD
 machine I can set it up so that FreeBSD can ssh into any of the Linux
 machines is fine, but the other way around, trying to get into the
 FreeBSD machines from Linux, causes sshd on FreebSD to return

 Feb 22 13:46:57 willow sshd[926]: fatal: monitor_read: unsupported
 request: 24

 This happens with 2 different varieties of Linux, so it is not an
 artefact of just one system. The configurations look the same at both
 ends as far as I can see.

 I have achieved this by generating an rsa key, and putting the public
 one into the authorized_keys2 file as appropriate.

 Any suggestions ?

Try and make sure that your Linux systems always use protocol version 2. 
FreeBSD uses this protocol by default, but most Linux distributions default 
to version 1 for compatibility reasons.

Public key authentication only appeared in version 2, so machines trying to 
use version 1 will not be able to use it properly.

The quickest way to achieve this is to force remote systems to use version 2 
by adding this in /etc/ssh/sshd_config on the FreeBSD system (it should 
already be there for new versions):

Protocol 2

Note that a setting of 2,1 will not work as it will still server protocol 1 
if clients request it first.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FTP installation through a NAT on a DSL connection

2003-02-22 Thread Willie Viljoen
On Saturday 22 February 2003 16:55, Vaughan Moore wrote:
 I'm installing 4.7 at home.  The Intel box is behind a NAT running on a
 Win98 box with ZoneAlarm running.  The point of installing 4.7 is so that
 I can replace the 98 box as my gateway to my Verizon DSL connection.

 My installation fails when the program tries to access one of the ftp
 servers.  When the time-out occurs I get an installation media error
 message.

 I know that my subnet on the NAT works because when I plug a 2000 machine
 into the gateway I can access the Internet.  However, I had to lower the
 Max MTU settings in the registry to do it.  I understand that PPPoE
 requires a lower MTU setting, but I'm not sure how to set MTU in the
 installation program.

 Can anyone help me with the problem?

 Vaughan Moore


I'm almost sure MTU is not the problem in this case, the Windows machine 
should be taking care of that. Try setting FTP into passive mode in the 
installer's options screen, or turning off passive mode if that's the 
default on your version. Windows 98 NATs are not famous for handling FTP 
properly.

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 4.7 - 4.8 woes. kernel now panics on bootup with still using grody create_intr interface message

2003-02-22 Thread Willie Viljoen
Fixed earlier today, cvsup again :)

On Saturday 22 February 2003 18:21, Steve Horan wrote:
 Hi,

 I've just cvsup'd from 4.7-STABLE (built from Nov 15 2002 sources) to
 today's 4.8-STABLE sources (Feb 22 2003)

 The machine now refuses to boot.

 The panic message is:
 still using grody create_intr interface

 Any pointers would be greatly appreciated

 regards

 sjh


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-stable in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FTP installation through a NAT on a DSL connection

2003-02-22 Thread Willie Viljoen
You're one step closer. When doing network configuration, make sure you list 
a valid and real DNS server. Try setting it up to use the DNS at your ISP, 
or the winroute if it provides DNS.

On Sunday 23 February 2003 0:08, Vaughan Moore wrote:
 Thanks so much for the suggestion.  When I use passive mode I get an
 error message Could not open ftp connection to ftp3.freebsd.org. 
 Service not available, closing control connection.  When I hit OK
 another error message comes up unable to initialize selected media. 
 Would you like to adjust you media configuration and try again?  When I
 do that, I go through the network configuration process again, but I get
 an immediate error message Cannot resolve host name ftp3.freebsd.org! 
 Are you sure that your name server, gateway and network interface are
 correctly configured?  I'm using DHCP, and it is pulling the correct
 IP's for these.

 Here's the log in my Winroute NAT.  What do you think I'm doing wrong?

 Vaughan


 Interface Table:
 Interface Status  Medium  IP address  
 NAT  Index
 NETGEAR FA310TX Fast Ethe...  Up  Ethernet10.10.1.1   50331652
 NETGEAR FA311 Fast Ethern...  Up  Ethernet10.10.1.0   67108869
 Dial in adapter   DownRAS 0.0.0.0 0
 line1 Up  RAS 151.200.238.11 
  on  16777218  dhcp

 TCP/IP stack's Routing Table:
 Net   MaskGateway Interface   Metric
 0.0.0.0   0.0.0.0 line1   1
 10.10.1.0 255.255.255.0   NETGEAR FA310TX Fast Ethe...  2
 10.10.1.0 255.255.255.0   NETGEAR FA311 Fast Ethern...  2
 151.200.0.0  255.255.0.0  line1   1

 DNS: query 10.10.1.210:1024 - 10.10.1.1:53 for ftp3.freebsd.org
 dns: query from 10.10.1.210:1024 id 41361
 dns: question: A, ftp3.freebsd.org
 dns: reply: ftp3.freebsd.org has 198.82.184.28
 DNS: query 10.10.1.210:1025 - 10.10.1.1:53 for ftp3.freebsd.org
 dns: query from 10.10.1.210:1025 id 41362
 dns: question: A, ftp3.freebsd.org
 dns: reply: ftp3.freebsd.org has 198.82.184.28
 TCP: packet 1278, length 74, 10.10.1.210:1024 - 198.82.184.28:21, flags:
 SYN , seq:4161382813 ack:0
 TCP: packet 1282, length 74, 151.200.238.11:45050 - 198.82.184.28:21,
 flags: SYN , seq:4161382813 ack:0

  -  Snip - Repeats 8 times and drops down to a length of 60 after try
 number 3

 DNS: query 151.200.238.11:45051 - 199.45.32.43:53 for
 9.136.168.217.in-addr.arpa
 DNS: query 151.200.238.11:45052 - 199.45.32.38:53 for
 9.136.168.217.in-addr.arpa
 TCP: packet 1323, length 74, 198.82.184.28:21 - 151.200.238.11:45050,
 flags: SYN ACK , seq:77305705 ack:4161382814
 TCP: packet 1327, length 74, 198.82.184.28:21 - 10.10.1.210:1024, flags:
 SYN ACK , seq:77305705 ack:4161382814
 TCP: packet 1328, length 60, 10.10.1.210:1024 - 198.82.184.28:21, flags:
 RST , seq:4161382814 ack:0

 This is where the install program quit and asked if I wanted to retry.

 -Original Message-
 From: Willie Viljoen [mailto:[EMAIL PROTECTED] Behalf
 Of Willie Viljoen
 Sent: Saturday, February 22, 2003 11:26 AM
 To: Vaughan Moore
 Cc: [EMAIL PROTECTED]
 Subject: Re: FTP installation through a NAT on a DSL connection

 On Saturday 22 February 2003 16:55, Vaughan Moore wrote:
  I'm installing 4.7 at home.  The Intel box is behind a NAT running on a
  Win98 box with ZoneAlarm running.  The point of installing 4.7 is so
  that I can replace the 98 box as my gateway to my Verizon DSL
  connection.
 
  My installation fails when the program tries to access one of the ftp
  servers.  When the time-out occurs I get an installation media error
  message.
 
  I know that my subnet on the NAT works because when I plug a 2000
  machine into the gateway I can access the Internet.  However, I had to
  lower the Max MTU settings in the registry to do it.  I understand that
  PPPoE requires a lower MTU setting, but I'm not sure how to set MTU in
  the installation program.
 
  Can anyone help me with the problem?
 
  Vaughan Moore

 I'm almost sure MTU is not the problem in this case, the Windows machine
 should be taking care of that. Try setting FTP into passive mode in the
 installer's options screen, or turning off passive mode if that's the
 default on your version. Windows 98 NATs are not famous for handling FTP
 properly.

 --
 Willie Viljoen
 Freelance IT Consultant

 214 Paul Kruger Avenue, Universitas
 Bloemfontein
 9321
 South Africa

 +27 51 522 15 60
 +27 51 522 44 36 (after hours)
 +27 82 404 03 27 (mobile)

 [EMAIL PROTECTED]

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FTP installation through a NAT on a DSL connection

2003-02-22 Thread Willie Viljoen
On Sunday 23 February 2003 4:57, Vaughan Moore wrote:
 Well, at least now I'm getting packets back and forth.

 But, I get this error message:

 Cannot parse information file for the bin distribution:  I/O error. 
 Please verify that your media is valid and try again.

 My ip gateway is 10.10.1.1
 My name server is 199.45.32.43
 My ip is 10.10.1.210
 My netmask is 255.255.255.0

 Again, thanks so much for the help.

 Vaughan


Chances are the mirror you are using doesn't carry the distributions. Try 
installing from another one :)


 -Original Message-
 From: Willie Viljoen [mailto:[EMAIL PROTECTED] Behalf
 Of Willie Viljoen
 Sent: Saturday, February 22, 2003 5:15 PM
 To: Vaughan Moore
 Cc: [EMAIL PROTECTED]
 Subject: Re: FTP installation through a NAT on a DSL connection


 You're one step closer. When doing network configuration, make sure you
 list a valid and real DNS server. Try setting it up to use the DNS at
 your ISP, or the winroute if it provides DNS.

 On Sunday 23 February 2003 0:08, Vaughan Moore wrote:
  Thanks so much for the suggestion.  When I use passive mode I get an
  error message Could not open ftp connection to ftp3.freebsd.org.
  Service not available, closing control connection.  When I hit OK
  another error message comes up unable to initialize selected media.
  Would you like to adjust you media configuration and try again?  When
  I do that, I go through the network configuration process again, but I
  get an immediate error message Cannot resolve host name
  ftp3.freebsd.org! Are you sure that your name server, gateway and
  network interface are correctly configured?  I'm using DHCP, and it is
  pulling the correct IP's for these.
 
  Here's the log in my Winroute NAT.  What do you think I'm doing wrong?
 
  Vaughan
 
 
  Interface Table:
  Interface   Status  Medium  IP address  
  NAT  Index
  NETGEAR FA310TX Fast Ethe...  UpEthernet10.10.1.1   50331652
  NETGEAR FA311 Fast Ethern...  UpEthernet10.10.1.0   67108869
  Dial in adapter DownRAS 0.0.0.0 0
  line1   Up  RAS 151.200.238.11 
   on  16777218  dhcp
 
  TCP/IP stack's Routing Table:
  Net MaskGateway Interface   Metric
  0.0.0.0 0.0.0.0 line1   1
  10.10.1.0   255.255.255.0   NETGEAR FA310TX Fast Ethe...  2
  10.10.1.0   255.255.255.0   NETGEAR FA311 Fast Ethern...  2
  151.200.0.0  255.255.0.0line1   1
 
  DNS: query 10.10.1.210:1024 - 10.10.1.1:53 for ftp3.freebsd.org
  dns: query from 10.10.1.210:1024 id 41361
  dns: question: A, ftp3.freebsd.org
  dns: reply: ftp3.freebsd.org has 198.82.184.28
  DNS: query 10.10.1.210:1025 - 10.10.1.1:53 for ftp3.freebsd.org
  dns: query from 10.10.1.210:1025 id 41362
  dns: question: A, ftp3.freebsd.org
  dns: reply: ftp3.freebsd.org has 198.82.184.28
  TCP: packet 1278, length 74, 10.10.1.210:1024 - 198.82.184.28:21,
  flags: SYN , seq:4161382813 ack:0
  TCP: packet 1282, length 74, 151.200.238.11:45050 - 198.82.184.28:21,
  flags: SYN , seq:4161382813 ack:0
 
   -  Snip - Repeats 8 times and drops down to a length of 60 after try
  number 3
 
  DNS: query 151.200.238.11:45051 - 199.45.32.43:53 for
  9.136.168.217.in-addr.arpa
  DNS: query 151.200.238.11:45052 - 199.45.32.38:53 for
  9.136.168.217.in-addr.arpa
  TCP: packet 1323, length 74, 198.82.184.28:21 - 151.200.238.11:45050,
  flags: SYN ACK , seq:77305705 ack:4161382814
  TCP: packet 1327, length 74, 198.82.184.28:21 - 10.10.1.210:1024,
  flags: SYN ACK , seq:77305705 ack:4161382814
  TCP: packet 1328, length 60, 10.10.1.210:1024 - 198.82.184.28:21,
  flags: RST , seq:4161382814 ack:0
 
  This is where the install program quit and asked if I wanted to retry.
 
  -Original Message-
  From: Willie Viljoen [mailto:[EMAIL PROTECTED] Behalf
  Of Willie Viljoen
  Sent: Saturday, February 22, 2003 11:26 AM
  To: Vaughan Moore
  Cc: [EMAIL PROTECTED]
  Subject: Re: FTP installation through a NAT on a DSL connection
 
  On Saturday 22 February 2003 16:55, Vaughan Moore wrote:
   I'm installing 4.7 at home.  The Intel box is behind a NAT running on
   a Win98 box with ZoneAlarm running.  The point of installing 4.7 is
   so that I can replace the 98 box as my gateway to my Verizon DSL
   connection.
  
   My installation fails when the program tries to access one of the ftp
   servers.  When the time-out occurs I get an installation media error
   message.
  
   I know that my subnet on the NAT works because when I plug a 2000
   machine into the gateway I can access the Internet.  However, I had
   to lower the Max MTU settings in the registry to do it.  I understand
   that PPPoE requires a lower MTU setting, but I'm not sure how to set
   MTU in the installation program.
  
   Can anyone help me with the problem

Netmasks for aliases (was Re: Bizarre Networking Problem)

2003-02-21 Thread Willie Viljoen
On Friday 21 February 2003 19:17, Mark wrote:
 
  /sbin/ifconfig xl0 192.246.38.10 netmask 255.255.255.0
  /sbin/ifconfig xl0 alias 208.23.240.10 netmask 255.255.255.0

 Hmm, I thought aliases always needed to have netmask of 255.255.255.255.
 Has something changed?

 - Mark

Mark,

Aliases on the same subnet should always be 255.255.255.255, this does not 
apply where they are on different subnets, however. Here is a good example, 
from the ifconfig output of a mail server I set up at an ISP in a nearby 
town. They used to use a private range, but have since added a public class 
C which has been broken up into smaller ranges for routing. 

The mail server, for legacy reasons, still has to serve people on the old 
IPs because those are still being used by machines in their office, and 
reconfiguring every office machine with new server IP addresses (they 
didn't have internal DNS then) would be wasting time. We didn't want to 
waste public IPs on beancounters, so we just left their machines as is. 

The host is also serving on the new IP, and acting as a POP server for 
several virtual domains, which have aliases. The 10.0.1.0/24 range (their 
office), and the 196.38.113.0/27 range (used for their server farm + 
virtual domains) are still the same physical network though. The output 
from ifconfig follows:

%ifconfig
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 196.38.113.2 netmask 0xffe0 broadcast 196.38.113.31
inet6 fe80::a00:8ff:fe00:800%dc0 prefixlen 64 scopeid 0x1
inet 196.38.113.3 netmask 0x broadcast 196.38.113.3
inet 196.38.113.5 netmask 0x broadcast 196.38.113.5
inet 196.38.113.6 netmask 0x broadcast 196.38.113.6
inet 196.38.113.7 netmask 0x broadcast 196.38.113.7
inet 196.38.113.8 netmask 0x broadcast 196.38.113.8
inet 196.38.113.9 netmask 0x broadcast 196.38.113.9
inet 196.38.113.10 netmask 0x broadcast 196.38.113.10
inet 196.38.113.11 netmask 0x broadcast 196.38.113.11
inet 10.0.1.4 netmask 0xff00 broadcast 10.0.1.255
inet 10.0.1.5 netmask 0x broadcast 10.0.1.5
ether 08:00:08:00:08:00
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00

Note how 196.38.113.2 (the machine's real address) has a netmask of 
0xffe0, or 255.255.255.224, and the other addresses in this range (all 
of them aliases) have 0x, 255.255.255.255. Then look at 10.0.1.4, 
which is an alias too. It has a netmask of 0xff00, or 255.255.255.0. 
Now look at 10.0.1.5, an alias used for serving intranet web content to 
legacy machines. Again, a netmask of 0x. 

The reason for this is that 10.0.1.4, even though being an alias, is the 
first address the machine handles on that subnet. Just as 196.38.113.2 is 
the first address the machine has on the public subnet.

Rule of thumb: First address on a subnet, alias or not, has the proper 
subnet netmask. Every other address on the subnet following that, has 
0x, or 255.255.255.255.

Will



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: new bie (tar command)

2003-02-21 Thread Willie Viljoen
On Friday 21 February 2003 20:29, Anil Garg wrote:
 How can i see the contents of a .tar or .tgz file without extracting
 it.( i couldnt find that in man tar)

tar -ztvf tarball.tgz

Incidentally, this is in the man page :)

   -t
   --list List the contents of an archive; if filename arguments are
   given, only those files are listed, otherwise the entire
   table of contents is listed.



 Thanx
 anil (FreeBSD user)

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Cvsup Handbook Example

2003-02-21 Thread Willie Viljoen
I don't really get it either, as I pointed out in an off-list e-mail to the 
original sender earlier, this has nothing to do with Christian mythology or 
satanic anything. 666 is, by all historic and scientific accounts, a 
Masonic symbol. Now unless you have a problem with people who have an 
intriguing fixation with geometry (Free Masons), then I can't see anything 
wrong with using the number.

We're long past the point where you can't use 13 as a number, why should 
this be any different, really?

On Friday 21 February 2003 21:42, Justin Hopper wrote:
 Sorry, this of course should have read 'after 665 and before 667'.

 On Fri, 2003-02-21 at 11:13, Justin Hopper wrote:
  Hello unamed person,
 
  For the rest of the world that doesn't follow Christian Mythology, 666
  is just the number after 667 and before 665.  I've used 666 in several
  coding examples, usually for client/server socket daemons, as most
  people don't have anything using port 666.
 
  Would you rather that the good people of FreeBSD be barred from using
  particular numbers?  This could pose a problem.

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Cvsup Handbook Example

2003-02-21 Thread Willie Viljoen
On Friday 21 February 2003 22:11, Henrik W Lund wrote:

 And let's remember that FreeBSD's mascot is a (if not THE) devil. ;)

 -Henrik
 FreeBSD newbie and fanatic.

Well hey, then I suppose Microsoft were right after all, we are evil ;)

News to me though, last I checked, daemons are neutral, and not evil like 
the demons which the American film industry has created for strategic 
marketing perposes :)

Just because something is red, has horns and carries a glowy tridant, is it 
neciserally evil? :P


 _
 MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg
 og dine venner


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: from GNOME to KDE

2003-02-21 Thread Willie Viljoen
You should be able to find links to packages from http://www.kde.org/

To get it on FreeBSD, just use ports. Check The Handbook (TM) for more 
information :)

Will

On Friday 21 February 2003 22:25, Gary D Kline wrote:
 On Fri, Feb 21, 2003 at 11:24:34AM -0800, David Cramblett wrote:
  if you have KDE installed, try the program switchdesk on Linux.

   Well, I asked for Gnome and that's all my friend
   installed.

   Where can I pull down a KDE3  *.rpm  file?
   (This is RH v 8.0, so KDE3 should work if
   I can find it.

   thanks,

   gary

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: from GNOME to KDE

2003-02-21 Thread Willie Viljoen
It built it fine here. Make sure your ports tree is upgraded to the latest, 
then run:

portupgrade -rR kdebase

That should do the trick :)

On Friday 21 February 2003 22:38, Gary D Kline wrote:
 On Fri, Feb 21, 2003 at 10:29:02PM +0200, Willie Viljoen wrote:
  You should be able to find links to packages from http://www.kde.org/
 
  To get it on FreeBSD, just use ports. Check The Handbook (TM) for
  more information :)

   Thanks for the KDE URL.  Here, portupgrade is giving me major
   build problem.   Maybe I'll find a FreeBSD package... .

   gary

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Error accessing SquirrelMail on server

2003-02-21 Thread Willie Viljoen
You need to add a Directory block to allow access to that directory :)

Will

On Friday 21 February 2003 22:41, Lord Raiden wrote:
 I'm getting an error when accessing my squirrel mail directory on the
 server via a browser after accessing it.  It gives the following.

 403 Forbidden
 You don't have permission to access /squirrelmail/ on this server.

 Before I added my alias in httpd.conf it was giving me a not found.  So
 I know I got the alias in there right.  A check of the directory shows
 it is owned entirely by root with no access by anyone else.  How do I
 fix this without totally breaking squirrel mail?  Thanks.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Displaying Slideshow on Remote Computer

2003-02-20 Thread Willie Viljoen
On Friday 21 February 2003 1:46, Rus Foster wrote:
 On Thu, 20 Feb 2003, Rik Scarborough wrote:
  Someone suggested VNC, but that does not appear to control the :0.0
  display.  I'm not sure how that is different from rlogin to the BSD box
  and exporting the display.

 If you do want to control :0.0 on a remote machine
 www.hexonet.de/software/x0rfbserver/  which is basically a VNC server
 which can take :0.0

You can also install KDE 3.1. They have added built in desktop sharing 
support which will let you grab the :0.0 display with any VNC client. You 
would need to boot up with a keyboard and start KDE. Then move to the back 
office machine and grab the KDE desktop with desktop sharing, by then, you 
can go and remove everything except the screen from the front machine.

KDE's desktop sharing is *FAST*, so people looking at your machine from the 
font will probably think everything is automated.

Will


 Rgds

 Rus
 --
 http://www.65535.net | MSN: [EMAIL PROTECTED]
 Lifetime Linux or FreeBSD account: $100 || Lifetime Hosting: $150
 Offsite Backups - Remote System Monitoring - Email Hosting


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



aRts-1.1.1, FreeBSD 4.7

2003-02-19 Thread Willie Viljoen
Sorry, this may be off topic.

I'm running KDE 3.1 compiled from ports, including latest kdelibs and 
kdebase and latest aRts (1.1.1).

I used to have sound in KDE, but decided to turn this off as I was running 
applications that didn't want to go with aRts. These are now more willing 
to talk to aRts, but I can't get aRts to talk to my sound card anymore.

The card is a Creative Labs SB16, I have it running with the newpcm and sbc 
drivers, and everything works fine other than aRts not cooperating.

I have tried all sorts of tinkering with aRts settings, nothing helps.

Any sugestions?

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: usb zip drive

2003-02-19 Thread Willie Viljoen
Your drive should be recognized by umass, you'll be able to view the device 
name it is assigned in the output form dmesg. All you should need to do is 
create an entry for it in /etc/fstab

On Wednesday 19 February 2003 18:36, Brian Henning wrote:
 after i boot my machine i would like to attatch a usb zip drive. does
 freebsd scan for new hardware when it is plugged in or is this a manual
 process? if so what tools are out there to perform these tasks?

 cheers,
 b

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: UDP-lite.

2003-02-13 Thread Willie Viljoen
On Thursday 13 February 2003 11:59, Zhikui CHEN wrote:
 Dear Sir.

 Could the latest version of FreeBSD support UDP-lite?

 Thanks in advance.

I've done alot of searching on this. Quite a few documents relating to 
UDP-Lite claim that they have an experimental implementation of UDP-Lite 
for FreeBSD, but provide no information as to where it might be found, or 
if it has been integrated. Almost all documents relating to it at this 
stage are in PDF, which leads me to believe that it will most certainly not 
be in the 4-STABLE branch at this stage, although it might be available in 
5-CURRENT.

It seems the protocol is still more of a draft than an implemented protocol 
working on the open internet. I could infact find no working 
implementations of it anywhere.

If you are able to find a working implementation, please point me to links 
sothat I can investigate further.

It might also be a good idea to post your question to the developer mailing 
lists, you can get information on these at http://www.freebsd.org/

For some strange reason, all search results related to UDP-Lite also point 
to IPv6, which leads me to believe it may only be available (or usable) 
with IPv6.

Drafts regarding UDP-Lite date back as early as 1999. Although it is now 
four years on, this does not mean UDP-Lite is implemented by now, the 
origional IPv6 draft was decided on in 1994, and it is still not even near 
being implemented on the open internet, and being used only for internal 
networks, testing, and in places in Japan where a critical shortage of IPv4 
addresses exists.

Will


 ==

 Zhikui CHEN, Ph.D.

 National Supercomputing Center
 University of Stuttgart
 Germany

 Tel: ++49-711-685-5871
 Fax: ++49-711-678-7626
 E-mail: [EMAIL PROTECTED]



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Moving user accounts from one system to another

2003-02-13 Thread Willie Viljoen
Does anybody know of a quick and (relatively) easy way of moving user 
accounts between two machines?

We have two mail servers, one if which hosts mail for the ISP's domain, and 
another for several domains belonging to their customers. The machine 
hosting for the customers is being taken down because it is old and pretty 
much redundant, the other server is much more powerful and will just handle 
it better.

I need to move (roughly 200) user accounts from the old server to the other 
machine. I can't just copy master.password and the data, the UIDs used on 
the old server may conflict and clash with UIDs on the other server.

Does anybody know of a way to do this without creating all the accounts 
manually and cutting-and-pasting the encrypted passwords between the 
machines?

Any sort of automation will help save some time, so all sugestions are 
welcome :)

Will
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



EICON Networks Diva PRI Servers

2003-02-13 Thread Willie Viljoen
Sorry for the cross-posts.

The same ISP I was posting about earlier today also have an EICON Diva PRI 
Server adaptor which they are using to take incoming V.90 and ISDN dial-up 
calls. The adaptor is currently hooked up to a machine running Windows 
2000, and the customers are allowed onto their network using RAS.

This is slow, unstable and security is almost non-existant. They want to 
switch the server over to something else. EICON only offers binary drivers 
for Red Hat and SuSE systems, none of which I trust.

Does anybody know if any third parties have done any work to get these 
adaptors to work with FreeBSD?

They also have a Netware port of the driver, if I can't get it working with 
FreeBSD, I'd rather install it on Netware than Linux, but that would mean 
buying yet another license, the almighty buck rules all :\

If anybody manages to find anything, even just pointing in the right 
direction, it would help alot.

Will
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to delete a file called ????

2003-02-12 Thread Willie Viljoen
On Wednesday 12 February 2003 22:54, Andres Aitsen wrote:
 Ühel kenal päeval (kolmapäev, 12. veebruar 2003 21:45) kirjutas Kent 
Stewart:
  On Wednesday 12 February 2003 11:21 am, parv wrote:
I have a file called ???
I can't seem to clean it away.
   
rm 
rm ''
rm 
   
all do not work.
 
  That is a lot of work when you could have just
 
  rm -- ???
 
  The -- tells rm that what follows is a file name.

 Well, simple test showed, what does the job.

 %touch \?\?\?\?\?\?\?\?\?\?\?\?\?\?\?
 %ls -l
 total 0
 -rw-r--r--  1 andres  wheel  0 Feb 12 22:50 ???
 %rm \?\?\?\?\?\?\?\?\?\?\?\?\?\?\?
 %ls -l
 %

 Andres

 [EMAIL PROTECTED]


Or, if you are using csh:

%touch '?'
%ls -lh '?'
-rw-r--r--  1 will  will  0B Feb 12 22:58 ?
%rm '?'
%ls -lh '?'
ls: ?: No such file or directory
%

Note, single quotes ('), not double quotes ().

The reason for this is that shells will still inspect variables and wild 
cards inside double quotes. Inside single quotes, you could even put a 
double quote without having problems.

Will


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: my custom kernel still builds everything

2003-02-12 Thread Willie Viljoen
On Thursday 13 February 2003 9:15, Tom Vier wrote:
 there's a few quirks i'm curiuos about. i made a custom config file, just
 like i do in netbsd, however, it still builds *everything*. not only
 that, but make install copies *.o into /boot/kernel/. boot time linking.
 a little strange, but ok. i can't just remove any .o can i? more to the
 point, how do i force it to only build and/or install selected options?

In the configuration file:

makeoptions MODULES_OVERRIDE=

Be sure you have everything you need. If you use this option, you will have 
no fallback if you forgot something.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sound Card and Speakers

2003-02-11 Thread Willie Viljoen
On Tuesday 11 February 2003 19:40, Ian Barnes wrote:
 Hi,

 I have a sound blaster live value, with Cambride Soundworks 5.1 Surround
 Speakers. I am running FreeBSD 5.0 Rel, in my kernel config i have device
 pcm, my sound works fine. The only thing that is bothering me, is that it
 the surround sound isnt working properly. I am using KDE as my window
 manager, wih xmms as my mp3 player.

 Has anyone managed to get this problem sorted out ? Am i alone ?

 Thanks for the help

 Ian Barnes

You're not alone :)

As far as I know, the pcm(4) driver currently only supports 2 channels, 
which means your rear speakers will not be getting a signal.

It might be a good thing to submit a PR and remind the developers that 
people want extra channel support, although I am sure they are working on 
it :)

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: scp GUI

2003-02-11 Thread Willie Viljoen
On Tuesday 11 February 2003 21:54, Cliff Sarginson wrote:
 On Tue, Feb 11, 2003 at 12:28:37PM -0600, Brian Henning wrote:
  i am actually looking for a port for scp on bsd.
  any suggestions?

 Errm, don't you have it anyway ?

 # type -p scp
 /usr/bin/scp

From what I can gather, they are looking for a GUI front end. If you are 
already using KDE, you can use Krusader (not in ports), 
http://krusader.sourceforge.net/, which is a Norton Commander like file 
manager that plugs into KDE and has built in SCP and SFTP functions.

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: OpenSSH security hole on FreeBSD?

2003-02-11 Thread Willie Viljoen
On Wednesday 12 February 2003 5:44, BSD baby wrote:
 I install OpenSSH like this:

 cd /usr/ports/security/openssh-portable
 make -DOPENSSH_OVERWRITE_BASE install

 That puts things here:
 /usr/bin/ssh
 /usr/sbin/sshd
 /etc/ssh/sshd_config

 BUT... it seems to be IGNORING the sshd_config!

 TWO major security holes:

 #1 - It won't let me turn off passwords
  (PasswordAuthentication no)

 #2 - It only requires I type the first 8 characters
  of my password!  (I use 16-character password.)


 I don't have these problems on OpenBSD.
 Any idea why they would be on FreeBSD?

They shouldn't. Why are you using the ported version though? The version 
included in base is in many cases more secure than the version from ports, 
and it's been checked and poked with a stick by FreeBSD coders to make sure 
every thing is compatible, not to mention that it's properly PAMified 
(which the ports one doesn't seem to be)

If you must have the latest version, rather get it from base and while 
you're at it, upgrade the rest of base too. Install the sources in /usr/src 
and use cvsup (in ports) to get the latest source, then follow instructions 
in /usr/src/UPDATING to upgrade your system.

Will



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: does XFree86 installed from CD lack anything?

2003-02-11 Thread Willie Viljoen
On Wednesday 12 February 2003 8:29, BSD baby wrote:
   Does the default install of XFree86 4.2 binaries from the
   FreeBSD 4.7 CD-Rom lack any drivers?  PCI video drivers, maybe?
  
   When I set up a new FreeBSD 4.7 box from CD-Rom I choose the
   option to install all sources + XFree binaries since I'm
   going to be running XFree86/KDE.
  
   Usually it's not a problem, but on a new box with no AGP slot,
   I've tried TWO different XFree-approved PCI video cards and
   BOTH give me this error:
  
   
   Fatal server error:
   XFree86 has found a valid card configuration.
   Unfortunately the appropriate data has not been added to
   xf86PciInfo.h. 
  
  
   my scanpci -v has this:
  
   pci bus 0x cardnum 0x0b function 0x00: vendor 0x10de device
   0x002d NVidia Riva TNT2 M64
 STATUS0x02b0  COMMAND 0x0007
 CLASS 0x03 0x00 0x00  REVISION 0x15
 BIST  0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x00
 BASE0 0xde00  addr 0xde00  MEM
 BASE1 0xdc08  addr 0xdc00  MEM PREFETCHABLE
 MAX_LAT   0x01  MIN_GNT 0x05  INT_PIN 0x01  INT_LINE 0x0b
 
  I believe you have to go through the non-trivial exercise of
  installing the Nvidia driver..I have not done this yet, due to lack of
  patience, but several people on the list have been there and done it,
  look back in the recent archives for long discussions on it...
  Or probably someone else will give you a pointer.
  Nvidia support for FreeBSD is very new.

 I wish that was it!

 But I had the same thing happen with a very standard ATI Rage 128 PCI
 card.

 Exact same errors. The new NVidia card was a last resort.

 Both are listed as fully supported by XFree 4.2

Try installing XFree86 from the packages tree instead of directly from the 
distributions. In older versions of FreeBSD, installing from distributions 
would give you XFree86 3.3.6 (which was still considered to be the stable 
X server), and you would have to install 4.x from packages right at the end 
of the install. I don't know if this is still the case with 4.7, I havn't 
needed a fresh install in ages.

Even better, try using CVSup to upgrade your ports tree, then 
[install/upgrade to] the latest XFree86 from ports. At last time I 
upgraded, it seemed to automatically include nVidia drivers (and everything 
else you need, even drivers for abandoned 3Dfx hardware) I would really 
do this any way as the XFree86 packages included with the 4.7 CD are 
obsolete and have been replaced by XFree86 4.2.1, which is really worth the 
download time to upgrade.

While you're at it, also make sure to upgrade to KDE 3.1, it is a huge 
improvement over the 3.0.x version included on the CD, and alot of security 
and stability issues have been addressed. Also, the CD version only comes 
with the kdebase and kdelibs modules. The other modules have stacks and 
stacks of nifty applications and bells and wistles for you to play with, to 
get them, you'll have to upgrade anyway, since they will need the latest 
kdebase and kdelibs.

You can check the handbook for instructions on CVSup, ports and 
portinstall/portupgrade.

Will


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to avoid NAT for VPN addresses

2003-02-10 Thread Willie Viljoen
Because (I assume) you have only one IP address, anything behind your 
gateway has to get NATed for it to be able to connect to the internet. A 
VPN connection (generally) has to run two ways, so doing it behind NAT will 
be problematic. The best thing to do is either to apply for a routable IP 
address range (a /28 range will do for most networks) and route real IP via 
your gateway (make sure to firewall properly) If that's not possible, get 
them to assign extra IPs to you, of the same number as the amount of boxes 
you have doing VPN, then set up the addresses as aliases on your gateway 
and do static NAT. If your VPN solution has the ability to set the port it 
communicates on, you could also use portforwarding from the gateway to the 
machines, but that is problematic at the best of times.

If you *HAVE* routable IP ranges behind your NAT and you simply want them to 
bypass the NAT, the easiest way is to run natd with the -u switch. This 
will cause natd to only operate on unregistered (eg, 10.0.0.0/8, 
192.168.0.0/16) addresses.

Will

On Monday 10 February 2003 15:26, Pranas Baliuka wrote:
 Can someone explain me how to avoid NAT for specific IP ranges?
 I have configured IPSec (racoon and setkey) VPN works with gateway
 (FreeBSD 4.6), but windows workstations are not able to use VPN
 connections. I guess there are collisions with NAT and IPSec, but I need
 NAT for accessing internet via my ISP.

 Thanks,
 Pranas Baliuka



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 5.0 on Compaq Evo 610c notebook - no way?

2003-02-10 Thread Willie Viljoen
It sounds to me like the Evo has a problem with its ACPI functions, 
reporting a temperature that is well outside the bounds of what any system 
should be able to handle.

The best thing I can think of would be to compile a bare kernel without ACPI 
support on another system and create a boot disk with it. Also make sure to 
make an MFSROOT disk to get sysinstall running, from there on, you will be 
able to install from the CD-ROM.

Will

On Sunday 09 February 2003 20:58, Jenisch Ewald wrote:
 Hi,

 I'm having serious trouble with setting up FreeBSD 5.0-Release on a
 Compaq Evo 610c-notebook.

 First of all, here's my configuration:

 Compaq Evo 610c notebook - ROM family 68P4F
 System-Bios: 1/17/2003 (latest available)
 RAM: 1GB
 HD: 40GB
 DVD/CD-RW
 Display: 1400x1050
 NIC: Intel Pro/100 builtin
 Modem: Lucent internal modem,
 Synaptics touchpad and pointstick
 Graphics: ATI Radeon Mobility 7500 AGP(LW) 32MB
   Bios 6.0.0 VR006.004.006.008-001.001.001
   350MHz DAC


 Now for the problem:

 I run FreeBSD-setup from a CD obtained from the ISO-image (5.0-RELEASE).
 Upon booting the system runs into a
 loop like the following:

 First of all the acpi.ko ist loaded
 Then after some messages I see
 acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
 acpi_tz0: WARNING - current temperature (1331362.0C) exceeds system
 limits followed by
 ACPI-1287 *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE
 with the latter one repeated dozen of times

 The system seems to run into a loop with the messages acpi_tz0...
 and ACPI-1287... repeated forever. The only way to cure the
 problem is to completely turn off power!

 I don't even come to the point where the system starts up in order to
 install something... :-(



 So here are my questions:

 1) Has anybody else seen this before?

 2) What can I do against it? (I *really* want to have FreeBSD running
on that box - going back to Windoze is no option for me)

 3) To me it looks like ACPI doesn't work - any ways to turn it of in
the FreeBSD-installation? (no way to turn it of in the system BIOS -
I've already checked this)

 TIA for your help,
 -ewald


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: help!

2003-02-08 Thread Willie Viljoen
Disable UDMA for that drive in your CMOS setup.

On Saturday 08 February 2003 18:50, unikon wrote:
 Hello freebsd-questions,


 Åñòü ïðîáëåìà ïðè çàãðóçêå, êîãäà ïûòàåòñÿ ïðèìîíòèðîâàòñÿ ðóòîâûé
 äèñê ÿ ïîëó÷àþ ñîîáøåíèå read command timeout, ïîñëå ÷åãî ïðîèñõîäèò
 restting devices, è âñ¸ çàíîâî... ïîñëå ÷åòûðåõ ðàç îí òàêè ìîíòèðóåò
 äèñê.

 ...
 Mounting root from ufs:/dev/ad2s2a
 ad2: READ command timeout tag=0 serv=0 - resetting
 ata1: resetting devices .. done
 ad2: READ command timeout tag=0 serv=0 - resetting
 ata1: resetting devices .. done
 ad2: READ command timeout tag=0 serv=0 - resetting
 ata1: resetting devices .. done
 ad2: READ command timeout tag=0 serv=0 - resetting
 ad2: trying fallback to PIO mode
 ata1: resetting devices .. done
 ...

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]…'²æìr¸›zǧvf¢–Új:+v‰¨·ž è®
¶§²æìr¸›yúÞy»ªç¬¶*'²)í…æèw*¶¦zˁ


Re: Many questions

2003-02-08 Thread Willie Viljoen
On Saturday 08 February 2003 17:43, Bill Moran wrote:
 dark dragonz wrote:
  how many time it can take to master FreeBSD?

 Oh, 3 or 4.  Depends on how fast of a learner you are.

Like Bill says, depends on how fast a learner you are, but also, it's how 
much time you are willing to spend.


  is it true that c/c++ isn't as stable as it is
  supposed to be?

 I've never seen C/C++ be unstable at all.  So, no, it isn't true.

They are programming languages, he would be referring to the compilers being 
unstable, which gcc is not. The only complaint I could have with gcc is 
that g++ is slow, but that is true for all C++ compilers. Still, they are 
not unstable, it's usually just the code people write using them that might 
be.


  what is specialtylity of FreeBSD, OpenBSD and NetBSD.

 They're operating systems.  Read the information on the home
 page for each one to get a more detailed answer.

The sarcastic answer:
NetBSD: Portability
OpenBSD:Security
FreeBSD:Actually working

The real answer:
What Bill said.

Will
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: kde3 on 300mhz / make package

2003-02-07 Thread Willie Viljoen
On Saturday 08 February 2003 08:01, André Ramos wrote:
 On Sat, 2003-02-08 at 05:54, Peter wrote:
  Hello,
  I have a 300mhz, 128MB Ram pc standing here, and I'm thinking of
  installing kde3 on there, does anyone know if that will be an alright
  combination or would that be very slow / not worth it?  I have an
  athlon 1800+, can I just remove my /etc/make.conf file, and do a make
  package on here to build kde3 and later install it on the 300mhz pc? 
  As I'm planning to do a make package for kde 3.1, is that all that's
  needed to make a package that could go on
  ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/x11 ? If so I'd like
  to start making some packages on this lazy 1800+.
 
 
  ---Peter---
 
  --
  It is now 10 p.m.  Do you know where Henry Kissinger is?
  -- Elizabeth Carpenter
 
  ---FreeBSD The Power To Serve---
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message

 I personally wouldn't run KDE3 on a 300Mhz machine, well I wouldn't run
 on any machine, but on that one it just might get too heavy and slow.

I disagree. I run KDE 3.1 with all of the bells and wistles turned on on a 
Celeron 333, performance compares favourably to Windows XP running on a 
coworker's Duron 1300. All I would do before I set that up is to add some 
RAM to that system. The Celeron 333 based system I use to run KDE 3.1 has 
320MB of RAM, and I am even considering an upgrade to 512MB. KDE, ever 
since 3.0, has been very RAM heavy, I wouldn't run it if I didn't have 
atleast 256MB RAM.

With *EVERYTHING* nifty turned off, ie, making it look like Windows 95, I 
have seen 3.0.3 run on systems with Pentium 150 processors with 32MB of 
RAM, it's not pretty though and it takes about 5 seconds for any menu to 
pop up, 5 seconds too long. If you find a half-way between this, it 
should work nicely with 128MB, but than it would basically look and run 
like KDE 2, and it wouldn't be worth the effort, IMHO.

Will



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Please help. I really need Samba Print Server

2003-02-04 Thread Willie Viljoen
Windows 2000 and NT try to use SPOOLSS functions, which come with the 
advanced print client. The quickest fix is to downgrade them all forcibly 
to LANMANGER clients by adding the disable spoolss = yes options to 
[global]

On Tuesday 04 February 2003 21:57, Greg Pavelcak wrote:
 I'm running -current from mid January. I have Samba3.0a20 Here's my
 smb.conf


 [global]
workgroup = WORKGROUP
nt acl support = no
server string = FreeBSD
load printers = yes
printcap name = /etc/printcap
printing = bsd
log file = /var/log/log.%m
max log size = 50
security = share
socket options = TCP_NODELAY
dns proxy = no
disable spoolss = yes
 [printers]
comment = All Printers
path = /var/spool/samba
public = yes
print command = lpr -s -P mnta %s ; rm %s
 #   guest ok = yes
writeable = yes
printable = yes
browseable = no
 #   use client driver = yes

 Most of it is just the default conf. I've tried it with the currently
 commented lines in and out. I can see the printer in the network
 neighborhood and set it up on Windows 2000 pcs by clicking on it and
 following the windows instructions. When I try to print anything, I get
 no complaint, but nothing ever prints out.

 Any guidance would be greatly appreciated. I have people breathing down
 my neck.

 Thanks.

 Greg

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Recovering deleted mail from a mailbox

2003-02-04 Thread Willie Viljoen
This is a shot in the dark, but I'll try it anyway. Mail has been 
(mysteriously) deleted from a mailbox in /var/mail. rm -W does not help. 
Does anyone know of any method (third party software included) that can be 
used to attempt to recover the mail from the file system?
-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: where can i find the security errata and patch section?

2003-02-04 Thread Willie Viljoen
On Wednesday 05 February 2003 05:18, sweetleaf wrote:
 I coming from openbsd, and have security question about patching.

 On openbsd we can review the up2date errata and if there is a security
 issue for which a patch exists, we can download the individual patch and
 use the.   patch -p0 command to patch the src. and then just rebuild
 the binary / install binary.

 The actual page is http://www.openbsd.org/errata.html

The errata for the present production release (4.7), including security 
advisories, can be found at:

http://www.freebsd.org/releases/4.7R/errata.html

You most likely won't find manual patches though, FreeBSD is patched and 
upgraded with the CVSup system. This insures that the entire code base is 
upgraded, to prevent dependancy problems and eliminate cruft.

To get cvsup, as root:

cd /usr/ports/net/cvsup;
make install clean;

Then edit the examples in /usr/share/examples/cvsup/ and use them to upgrade 
the system. More detailed information on the use of CVSup can be found in 
the FreeBSD Handbook (which should be installed in 
/usr/share/doc/handbook/index.html)



 I cant find this on the freebsd page and was wondering if such a errata
 w/patch exists for this project as i don't have time to cvs and make
 world often  and would just rather patch things myself.

 Thanks in advance.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: where can i find the security errata and patch section?

2003-02-04 Thread Willie Viljoen
Addendum to my previous post. I would also strongly advise you to subscribe 
to FreeBSD security and security-announcements mailing lists. Information 
and charters for the lists may be found on freebsd.org

On Wednesday 05 February 2003 05:18, sweetleaf wrote:
 I coming from openbsd, and have security question about patching.

 On openbsd we can review the up2date errata and if there is a security
 issue for which a patch exists, we can download the individual patch and
 use the.   patch -p0 command to patch the src. and then just rebuild
 the binary / install binary.

 The actual page is http://www.openbsd.org/errata.html


 I cant find this on the freebsd page and was wondering if such a errata
 w/patch exists for this project as i don't have time to cvs and make
 world often  and would just rather patch things myself.

 Thanks in advance.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Misc questions (reposted, first reply only went out to origional user requesting it)

2003-01-25 Thread Willie Viljoen
On Saturday 25 January 2003 20:32, pura life CR wrote:
 Hi, I am freebsd user, I have few misc questions:

 1. Where can i get the source code of the daemon saver? I want to know
 how the logo can jump in the screen.

/usr/src/sys/modules/syscons/daemon/daemon_saver.c


 2. What command can i use if I want to crypt a word and I see it encrypoted
 just like the /etc/master.passwd file? For example, I want to know how the
 password foobar would be encrypted in /etc/master.passwd if It would be
 my real passwd.

This would not be done with a command. It is done with a call to the crypt() 
function in libcrypt. You may see the crypt(3) manpage for more information 
(type man 3 crypt at your command prompt)


 3. Where can I get more informacion about svr4 and linux emulation?, What
 does this emulation consist on? Can I run linux and svr4 binaries?.


See section 20 (Linux Binary Compatibility) in the FreeBSD handbook. If you 
installed the doc distribution, the handbook is in 
/usr/share/doc/handbook/index.html on your file system. The SVR4 emulation 
works in the same way as the Linux emulation, so the section of the handbook 
applies here too.

 That's all for now.

 regards,

 _



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Fwd: Re: Misc Questions. (reposted yet again)

2003-01-25 Thread Willie Viljoen
Yet again, I post only to the sender, not the list, sorry :)

--  Forwarded Message  --

Subject: Re: Misc Questions.
Date: Sat, 25 Jan 2003 21:07:30 +0200
From: Willie Viljoen [EMAIL PROTECTED]
To: Bill Moran [EMAIL PROTECTED]

Some friendly corrections, sorry Bill :-)

On Saturday 25 January 2003 20:55, Bill Moran wrote:
 You'll get better response if you send each question as a seperate email,
 with an appropriate subject line for each one.  May sound silly, but a
 lot of people will delete messages with subjects like Misc Questions
 without even reading them.

I'm with you on the subjects, but he's perfectly fine putting it in one
e-mail, multiple mails would have annoyed me more.

 pura life CR wrote:
  1. Where can i get the source code of the daemon saver? I want to know
  how the logo can jump in the screen.

 /usr/src/usr.sbin/daemon/

As I pointed out in my previous post, it is at
/usr/src/sys/modules/syscons/daemon/daemon_saver.c

/usr/src/usr.sbin/daemon contains source for the daemon(8) utility used to
daemonize a normally non-daemon process.

  2. What command can i use if I want to crypt a word and I see it
  encrypoted just like the /etc/master.passwd file? For example, I want to
  know how the password foobar would be encrypted in /etc/master.passwd
  if It would be my real passwd.

 I don't know the answer to this one, check the source.

See my other post, it's in libcrypt, more information is in crypt(3)

  3. Where can I get more informacion about svr4 and linux emulation?,

 The handbook is a good place to start:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html

  What does this emulation consist on? Can I run linux and svr4 binaries?.

 It's not really emulation.  In the case of Linux, it actually installs a
 RedHat kernel and uses it when the system calls differ from the native
 FreeBSD system calls.
 You should be able to run most Linux and srv4 binaries.  In my experience,
 I've only ever come across 1 Linux binary that wouldn't run (Pervasive
 database server).  I can't vouch for the srv4 compatibility, as I've never
 used it.

Bill is spot on here. For more information, section 20 in the handbook (other
post)

--
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

---

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: IPFW, blocking IM servers

2003-01-25 Thread Willie Viljoen

 I have a text file on the Squid proxy which contains a list of blocked
 sites, which I include below.  Only a technically astute user would be
 able to bypass this setup. S1ince this would require very deliberate and
 complicated steps, such as setting up a VPN tunnel through SSL, this would
 be clear grounds for termination.


I wouldn't fire an employee for doing that, I'd move them to the IT security 
department...

The problem with blocking them is that more will always pop up, and more ways 
to get around controles will too. Unless you have a situation where you 
absolutely have to block, ie, you have users that won't listen to a kind 
request, ie, school kids, your kids, management, I would not pick blocking as 
a strategy, instead, tell them that the use of IM services is not allowed on 
the network, and that infringement will be considered time not spent on 
business activities, take it off their salaries, they'll stop trying right 
away.

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Fwd: Re: Simple question about X

2003-01-25 Thread Willie Viljoen
DAMMIT! Yet again I send it back to the sender, and not the list, if I do this 
one more time, somebody have me banned.

--  Forwarded Message  --

Subject: Re: Simple question about X
Date: Sat, 25 Jan 2003 21:41:18 +0200
From: Willie Viljoen [EMAIL PROTECTED]
To: Brian McCann [EMAIL PROTECTED]

No configure scripts needed, just run XFree86 -configure :)

On Saturday 25 January 2003 21:31, Brian McCann wrote:
 Hi all.  I've got a simple and stupid question.  I'm trying to run an X
 app (dcgui) via Xmanager from a windows box.  So...I did a make install
 on that, and it complained about xauth not being there.  So, I just
 installed X, did a make install in /usr/ports/x11/XFree86-4.  But when I
 type startx or X I get a message that it's unable to open a config
 file.  And I'm having a MAJOR brain fart and cannot remember what
 package provides the configure scripts.  Can someone help me out?

 Thanks,
 --Brian


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

--
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

---

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Commands to check encrypted passwords (was Re: Misc Questions.)

2003-01-25 Thread Willie Viljoen
Nathan,

This won't work, the md5 system command is to generated md5 message digests. 
These are very different from salted passwords, which are a one-way 
encryption that will almost never be the same. Message digests are always the 
same, using them to encrypt passwords would be abit silly :)

Digests are used (normally) to check the integrity of a downloaded file.

To do this from the command line (without compiling a C program to use it from 
libcrypt) you can use perl, as Matthew Seamon points out:

% perl -e 'print crypt(q{password}, q{$1$$}), \n;'
$1$$UYCIxa628.9qXjpQCjM4a.

In this case, the 's would be the 8 character MD5 salt.

Will

On Saturday 25 January 2003 21:35, Nathan Kinkade wrote:
 On Sat, Jan 25, 2003 at 01:55:50PM -0500, Bill Moran wrote:
 snip

  2. What command can i use if I want to crypt a word and I see it
  encrypoted just like the /etc/master.passwd file? For example, I want to
  know how the password foobar would be encrypted in /etc/master.passwd
  if It would be my real passwd.
 
  I don't know the answer to this one, check the source.

 snip

 If you are using md5 password hashing for master.passwd then you can use
 the command:
 # md5 -s mypassword
 This should show you what the string ``mypassword'' will hash to using
 md5.  However, the other options are des and blf (blowfish).  To see
 which you are using check the paramter passwd_format in /etc/login.conf.
 I don't know what you would use to figure the others, at least not
 through bash.

 Nathan

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Fwd: Re: Misc Questions. (reposted yet again)

2003-01-25 Thread Willie Viljoen
  On Saturday 25 January 2003 20:55, Bill Moran wrote:
 You'll get better response if you send each question as a seperate email,
 with an appropriate subject line for each one.  May sound silly, but a
 lot of people will delete messages with subjects like Misc Questions
 without even reading them.
 
  I'm with you on the subjects, but he's perfectly fine putting it in one
  e-mail, multiple mails would have annoyed me more.

 Well, I stated it the way I did because it's in line with this document:
 http://www.lemis.com/questions.html
 which has been the rulebook on how to use questions@ for as long as I
 can remember.

Can't argue with the rulebook, I guess I was abit of an ignoramis there, 
apologies. We should be moving this to freebsd-chat@ soon :)

Will

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /etc/make.conf Examples

2003-01-25 Thread Willie Viljoen
Dan,

On Saturday 25 January 2003 21:49, Danny wrote:
 Greetings,

 I am trying to wrap my head around the make.conf file, and I am curious
 to know if others have multiple /etc/make.conf files for certain
 situations, or just one.

Mostly you should have just one file, it should specify your type of CPU, 
things you wouldn't want built, etc, that kind of stuff generally should only 
ever change if you are doing things like cross-compiling for machines on 
other platforms.


 Could you please post your /etc/make.conf(s) and explain the contents
 and resulting actions of your file.

The best documentation on /etc/make.conf is in the make.conf(5) manpage. It 
has extensive explanations of all the options you can use and what they do.


 Thank you!

 Danny

 P.S. After a fresh install (4.7R), are you suppose to have an
 /etc/make.conf? I found the /etc/defaults/make.conf, but I do not have an
 /etc/make.conf

On a fresh install, there is no make.conf. This is because in all cases, 
/etc/defaults/make.conf is read first, and then, if it exists, 
/etc/make.conf. If anything in make.conf differs or conflicts with 
defaults/make.conf, the setting in make.conf is taken to be the correct one. 
The best way to set up a make.conf is to take options in defaults/make.conf 
that you want to change, and put the changed option in make.conf, then add 
extra options you might want from the listings in the make.conf(5) manpage.

Good luck
Will


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: MakeDev: Unknown major/minor... when trying to label the 2nd SCSI HDD

2003-01-19 Thread Willie Viljoen
Sounds to me like sysinstall is trying to make the devices. This means they 
aren't there. You're using a RELEASE kernel, so the device numbers shouldn't 
be different, but you never know. You might want to try creating the nodes 
before hand, sothat sysinstall doesn't have to:

 cd /dev  sh MAKEDEV all

Now try sysinstall again.

You might also not have configured the appropriate devices in your kernel, I 
notice you have built a custom one. Try booting with /kernel.GENERIC and see 
if the problem persists.

If that doesn't help, try using CVSup to upgrade to the latest 4-STABLE and 
compile a new kernel.

Will

On Sunday 19 January 2003 13:59, Ion-Mihai Tetcu wrote:
 Hi,

 Please kepp me on the cc: as i'm not posting from my subscribed address.
 Hope the mail it is ok formatted, i'm sending from a win.

 When I try to use /stand/sysinstall's disklabel to set up my 2nd SCSI HDD
 disk it gives :
 DEBUG: MakeDev: Unknoen major/minor for devtype- on another console, and
 i'm getting :
 Error adding swap: device not configurated
 Error mounting /dev/da1s1f on /NOFUTURE: Invalid argument,
 etc.

 I cannot figure out what is wrog;
 i've searched with Google and found out 2 link but no very usefull as i
 don't speak russian or hungar.
 There are also some related posts on the scsi mailling list who didn't help
 me.

 I've also tryied to :
 dislabel -r ad0  dsklabel.txt
 editing to point to ad1 and
 disklabel -r ad1 dsklabel.txt
 which has leave me with some strage softupdate inconssistency as fsck did
 nicely told me.

 The relevant dmesg and disklabel output are bellow.

 If someone could point me to the right direction i would really apreciate,
 as the machine should go on
 production in less that 48 hours.

 Many thaks,
 IOnut


 FreeBSD 4.7-RELEASE #0: Sat Jan 18 19:27:03 EET 2003
 [EMAIL PROTECTED]:/usr/src/sys/compile/fp1
 Timecounter i8254  frequency 1193182 Hz
 CPU: AMD Athlon(TM) XP 2000+ (1666.20-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x662  Stepping = 2
   Features=0x383fbff
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
X,FXS R,SSE
   AMD Features=0xc040AMIE,DSP,3DNow!
 real memory  = 1073725440 (1048560K bytes)

 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0xb800-0xb8ff mem
 0xdb00- 0xdb000fff irq 10 at device 14.0
 on pci0
 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

 da0 at ahc0 bus 0 target 0 lun 0
 da0: IBM DDYS-T36950N SA2A Fixed Direct Access SCSI-3 device
 da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
 Enabled
 da0: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C)
 da1 at ahc0 bus 0 target 2 lun 0
 da1: IBM DDYS-T36950N SA2A Fixed Direct Access SCSI-3 device
 da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
 Enabled
 da1: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C)

 # /dev/da0c:
 type: SCSI
 disk: da0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4461
 sectors/unit: 71681967
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0 # milliseconds
 track-to-track seek: 0# milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  51204.2BSD 2048 1638489 # (Cyl.0 - 318*)
   b:  512  512  swap  # (Cyl.  318*- 637*)
   c: 716819670unused0 0   # (Cyl.0 - 461*)
   e: 33554432 10244.2BSD 2048 1638489 # (Cyl.  637*- 726*)
   f: 10485760 437944324.2BSD 2048 1638489 # (Cyl. 2726*- 378*)
   g: 17401775 542801924.2BSD 2048 1638489 # (Cyl. 3378*- 461*)


 # /dev/da1c:
 type: SCSI
 disk: da1s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4461
 sectors/unit: 71681967
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0 # milliseconds
 track-to-track seek: 0# milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 716819670unused0 0   # (Cyl.0 -
 4461*) e:  51204.2BSD 2048 1638489# (Cyl.0 -
 318*)






 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Willie Viljoen
IT Solutions Consultant

Highveld Computing Solutions
214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

Be ahead of the pack, visit http://www.highveldcs.com/ and find out how our 
next generation IT solutions will propel your business into the 21st century.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message