Changing colors in shells

2003-10-29 Thread Pascal Giannakakis
Lo folks,

i would like to change the colors of the shell to FG=green BG=black. I do
_not_ ask how to change the promt, i rather want to change the default FG BG
colors, so that with whatever program (be it Konsole, putty, ssh.org, ...) i
log in via SSH it uses this colors. I am aware of the fact that i can set up
these colors in the clients itself, however this is not what i want.

Where do i set them up? Thank you!

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

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


pppctl - delete config rules

2003-10-10 Thread Pascal Giannakakis
Hello there,

i can add a config rule to pppd via pppctl (e.g. nat port tcp10.0.0.2:80
80), but how do i remove it with pppclt again?

thx

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

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


Re: mount an ftp or ssh filesystem

2003-09-26 Thread Pascal Giannakakis
C. Ulrich wrote:
On Thu, 2003-09-25 at 04:34, Pascal Giannakakis wrote:

Hello,

i'd like to mount remote ftp and ssh dirs into my local dir-tree, however
can't find info on that for FreeBSD. I can't find neither a port, nor something
for the kernel (like LUFS in Lunix). Other network-FSs are not an option.
BTW - If you wonder whats its use is: i would like to access the files i work
on with different programming tools seamlessly.
Is it possible at all in FreeBSD 5.1?

TIA


I don't know for sure whether it's possible or not, but mounting a
remote FTP directory onto a local mount point does not sound like a good
idea.
You said that other network filesystems are not an option, but then
neither FTP or SSH (assuming you meant FTP tunnelled through SSH) are
networking filesystems either. The two popular implemtations of network
filesystems are NFS (Unix) and SMB (Unix via Samba, Windows). You should
take a close look at those since you will get much better performance
and security with them than by grafting an FTP directory to your
filesystem. If you need this in order to do your job and don't have
administrator access to the remote machine(s), then petition your system
administrator to look into NFS or SMB.
C. Ulrich
Of course you are right when you say there are better solutions for 
network-filesystems, and i use them when i have access to the server 
config. However most servers i work on are mass-products where your 
personal need for features is always answered by upgrade your account. 
This, in turn, arises the need for some other (OS-level) solution.

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


mount an ftp or ssh filesystem

2003-09-25 Thread Pascal Giannakakis
Hello,

i'd like to mount remote ftp and ssh dirs into my local dir-tree, however
can't find info on that for FreeBSD. I can't find neither a port, nor something
for the kernel (like LUFS in Lunix). Other network-FSs are not an option.
BTW - If you wonder whats its use is: i would like to access the files i work
on with different programming tools seamlessly.

Is it possible at all in FreeBSD 5.1?

TIA

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

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


tool to sniff data from a device file

2003-09-25 Thread Pascal Giannakakis
Hi,

is there any generic capture-tool that can sniff and display the data that
is going in and out of a device, say /dev/sio0 or /dev/usb0, and display it in
whatever style, like tcpdump does with net-interfaces?

TIA

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

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


Re: ppp with DSL leaves unused routes

2003-09-25 Thread Pascal Giannakakis
fbsd_user wrote:

Add these 2 statements to your ppp.conf file

disable iface-alias# Stop adding old IP addr as alias when ppp
# redials because line was lost. These old
ips
# showed using  ifconfig -a   on tun0.
 iface clear# Remove all previous IP address
w00t, that solved it, thanx a bunch!

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


Fwd: ppp with DSL leaves unused routes

2003-09-24 Thread Pascal Giannakakis
Hello,
 
i have FreeBSD 5.1 running which is connected to the INet via a PPP / DSL.
My DSL provider forces
disconnect every 12 hours, and my ppp-script dials in back immediately
(ddial). However, after the redial there
is not one route, but 2 routes. How do i force the old route to be deleted?
 
Here is my  ppp.conf:
 

default:
 ident user-ppp VERSION (built COMPILATIONDATE)
 
NCDSL:
 set device PPPoE:sis0
 set authname 
 set authkey 
 set mru 1492
 enable dns
 add! default HISADDR

 
This is my netstat -rn:
 

Routing tables
 
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default195.14.220.1   UGSc4  1537268   tun0
127.0.0.1  127.0.0.1  UH  131063lo0
195.14.205.1   195.14.205.119 UH  00   tun0
195.14.220.1   195.14.220.181 UH  50   tun0
195.14.222.1   195.14.222.217 UH  00   tun0
213.168.109.1  213.168.109.83 UH  00   tun0
213.168.118.1  213.168.118.58 UH  00   tun0

 
195.14.205.1, 195.14.222.1, 213.168.109.1 and 213.168.118.1 are zombies.

Thank you.

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

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


[no subject]

2003-03-12 Thread Pascal Giannakakis
Hello, 
 
i want to extract a word with a regular expressions from a line of text.
Here is what 
i currently have: 
 
grep -c -E 'Interesting ports on [a-zA-Z0-9-.]+ \((.+)\)' 
 
This will print lines (from nmap), but i need only the 1st match in
parentheses, which 
is the IP in this case. What programm would i use to print what grep sees as
\1, 
instead of the whole line? 
 
Thanx 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


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


Re: bandwidth prioritization

2003-03-06 Thread Pascal Giannakakis
 Hi there, 
  
 I read this and I was wondering if anyone has done this with ipfw  
 dummynet. 
  
 http://www.benzedrine.cx/ackpri.html 
  
 Thanks, 
 - Will 
  
  
 To Unsubscribe: send mail to [EMAIL PROTECTED] 
 with unsubscribe freebsd-questions in the body of the message 
  
 
Hi there, 
 
i haved asked this question some time ago and got a reply to my personal
account. I 
will forward that mail to this list when i am back home. 
 
Please be so kind, and write a reminder at my mail account, no copy to 
freebsd-questions. I am  sure i will forget it otherwise... *stareup* 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


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


Re: bandwidth prioritization

2003-03-06 Thread Pascal Giannakakis
Pascal Giannakakis schrieb:
Hi there, 

I read this and I was wondering if anyone has done this with ipfw  
dummynet. 

http://www.benzedrine.cx/ackpri.html 

Thanks, 
- Will 

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

 
Hi there, 
 
i haved asked this question some time ago and got a reply to my personal
account. I 
will forward that mail to this list when i am back home. 
 
Please be so kind, and write a reminder at my mail account, no copy to 
freebsd-questions. I am  sure i will forget it otherwise... *stareup* 

Thx goes to Marc UBM Blocket who wrote this mail. Some typos in it, 
but with a little work and read you will get the point. Hope this helps!

PS Marc: I tried this stuff, but my PC messed up with latest kernels, so 
i didn't want to make it worse and didn't check if it is tuned well. 
Also, could you please post a ipfw list and ipfw pipe list? Would be 
very kind - thanks!



On Thu, 16 Jan 2003 20:03:44 +0100
Pascal Giannakakis [EMAIL PROTECTED] wrote:
 Lo ppl,

 a few month ago there was an article in the german computer mag c't
 which described how to tune an ADSL connection. One of the tips was to
 give small IP-packages (64 bytes and less) a high priority. According
 to the article this will result in an improved behaviour when up- and
 downstream are both busy at the same time.

 As i suffer exactly this problem, i would like to try it out on
 FreeBSD 5. As i can not find what the command would be in FreeBSD -
 and if it is even supported, i hope some of you FreeBSD / Linux guys
 can help me out. Here is the Linux command:

 # iptables -A POSTROUTING -t mangle -o ppp0 -p tcp -m length --length
 # :64 -j
 MARK --set-mark 12

 The comlete script can be downloaded here:
 http://www.heise.de/ct/ftp/02/24/224/

 What would be the options in FreeBSD? Thanx!
Hiho! :-)

First of all, sorry for answering that late, i forgot about your mail
for some time and remembered it just recently.
You need both dummynet (the freebsd traffic shaper) and ipfw (firewall)
to do this.
And i strongly suggest that you do a man ipfw and read through it,
else you won't really understand what the firewall rules do :-)
If you have not enabled both of them in your kernel, you need to do so.

options are:

options IPFW2   (might be obsolete in 5.0)
options IPFIREWALL
options IPFIREWALL_VERBOSE  (optional)
options IPFIREWALL_VERBOSE_LIMIT=100(optional)
options IPFIREWALL_DEFAULT_TO_ACCEPT(optional)
options DUMMYNET
options HZ=1000
I'd also suggest to do a man ipfw and read through the whole thing,
its really worth it.
After you've installed the new kernel, you need to create a config file
for ipfw which tells it to give high priority to the small (  64 byte)
tcp packets.
Mine looks like this:

	pipe 1 config bw 132kbit/s queue 10kbyte

This creates a dummynet pipe which bandwidth is approximately equal to
the max. adsl upstream, the queue 10kbyte part tells it to create a
10kbbyte packer-buffer for that pipe (I'v not really figured out yet
what the optimal buffer size is, this size works fine for normal traffic
but you might run into latency-problems if you play online games).

queue 1 config weight 50 pipe 1
add 597 queue 4 ip from me to any src-port 41000-42000,21,20 out
This creates a dummynet queue which is linked to a pipe and is used to
give certain priority to the traffic sent through the pipe linked to the
queue. The priority is given through the weight value command. value
can be anything from 1 to 100. The higher the value, the higher the
priority. Traffic piped through this queue has a high priority (50), so
this is the pipe that will be used for the small tcp-packets
Ok, now you need to create a second queue to pipe the normal upstream
through (ftp traffic, p2p, whatever other traffic there is :-) ).
Naturally, you want to give this traffic a lower priority than the
tcp-control-packets. (i gave it priority 1, but i believe higher values
up to 10 would also work).
	queue 2 config weight 1 pipe 1  # ftp traffic out

Ok, now comes the tricky part. You've to tell the firewall (ipfw) which
kind of packets are to be sent to the queues.
add 550 queue 1 ip from me to any iplen 46 out
add 551 queue 1 ip from me to any iplen 47 out
add 552 queue 1 ip from me to any iplen 48 out
add 553 queue 1 ip from me to any iplen 49 out
add 554 queue 1 ip from me to any iplen 50 out
add 555 queue 1 ip from me to any iplen 51 out
add 556 queue 1 ip from me to any iplen 52 out
add 557 queue 1 ip from me to any iplen 53 out
add 558 queue 1 ip from me to any iplen 54 out
add 559 queue 1 ip from me to any iplen 55 out
add 560 queue 1 ip from me to any iplen 56 out
add 561 queue 1 ip from me to any iplen 57 out
add 562 queue 1 ip from me to any iplen 58

Can not compile KDE / arts (coredump)

2003-02-13 Thread Pascal Giannakakis
Lo, 
 
did anybody experience the same problem when trying to compile arts-1.1 on 
FreeBSD-STABLE? 
 
gmake[3]: Entering directory `/usr/ports/audio/arts/work/arts-1.1/flow' 
../mcopidl/mcopidl -t ../flow/artsflow.idl 
../flow/artsflow.idl: warning: Arts::WaveDataHandle::load (method) collides
with 
Arts::WaveDataHandle::load (method) 
gmake[3]: *** [artsflow.cc] Segmentation fault (core dumped) 
gmake[3]: *** Deleting file `artsflow.cc' 
gmake[3]: Leaving directory `/usr/ports/audio/arts/work/arts-1.1/flow' 
gmake[2]: *** [all-recursive] Error 1 
gmake[2]: Leaving directory `/usr/ports/audio/arts/work/arts-1.1/flow' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/usr/ports/audio/arts/work/arts-1.1' 
gmake: *** [all] Error 2 
*** Error code 2 
 
The system and ports are up to date. kdebase alone also fails: 
 
/usr/include/g++/iostream.h:253: warning: `_G_CLOG_CONFLICT' is not defined 
konq_sound.cc:45: syntax error before `::' 
konq_sound.cc: In method `KonqSoundPlayerImpl::KonqSoundPlayerImpl()': 
konq_sound.cc:50: class `KonqSoundPlayerImpl' does not have any field named
`m_player' 
konq_sound.cc:53: `m_factory' undeclared (first use this function) 
konq_sound.cc:53: (Each undeclared identifier is reported only once 
konq_sound.cc:53: for each function it appears in.) 
konq_sound.cc:53: syntax error before `::' 
konq_sound.cc: In method `KonqSoundPlayerImpl::~KonqSoundPlayerImpl()': 
konq_sound.cc:58: `m_player' undeclared (first use this function) 
gmake[3]: *** [konq_sound.lo] Error 1 
gmake[3]: Leaving directory
`/usr/ports/x11/kdebase3/work/kdebase-3.1/libkonq' 
gmake[2]: *** [all-recursive] Error 1 
gmake[2]: Leaving directory
`/usr/ports/x11/kdebase3/work/kdebase-3.1/libkonq' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.1' 
gmake: *** [all] Error 2 
*** Error code 2 
 
I have KDE 3.1 at home on FreeBSD-CURRENT, so why does it not work here? 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


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



Re: FreeBSD and DSL CONNECTIVITY ISSUES,

2003-02-13 Thread Pascal Giannakakis
 To All, 
  
 We are running a server using FreeBSD and have been 
 experiencing DSL connectivity issues from our customers. 
 Our pages are basically all HTML and some Java applets. 
 Customers are reporting issues such as; 
  
 Recently I've noticed that your site operates very slowly.  When I am 
 surfing at , the speed gradually decreases until it won't navigate at
all 
 anymore.  sometimes  even breaks my dsl connection somehow and I have 
 to re-start my computer.  One one occasion it actually crashed my machine 
 and caused it to re-boot.  These issues are not occurring when visiting
other 
 websites.  Any ideas? 
  
 Does anyone have any further thoughts on this issue? 
 
Any information in the log files? You could enable PPP logging (see ppp
manpage if you 
are actually using it). Did you control the serverload and/or networkload?
Tools such 
as KDE's ksysguard(d) or gkrellm could help you. They are available from the
ports. 
Also, please supply version-info. 
 
If you are very new to FreeBSD you might want to check the handbook at 
http://www.freebsd.org/handbook/. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


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



Re: Trouble with SMC2602W wireless card

2003-02-12 Thread Pascal Giannakakis
 On Tue, Feb 11, 2003 at 03:32:46PM -0500, David Brodbeck wrote:  
  I bought an SMC2602W wireless PCI card, based on it being listed in the 
 
  FreeBSD Handbook as supported.  However, I can't get the system to   
  recognize it.  I get this in dmesg:  

  pci0: unknown card (vendor=0x1317, dev=0x8201) at 8.0 irq 12  

  I'm running 4.6.2-RELEASE.  Do I need to upgrade to a more recent  
 release?  

  Any suggestions?  I'm not on the list so please CC replies to me.  

   
 This sounds familiar :)  
   
 I've the same problem with my Wireless PCI and like you I based my choice 

 on the 'Supported' List.  
   
 But,  maybe you're luckiest than me so if you want you could try to force 

 the driver to recognize your card.  
   
 This is how:  
   
 First, run pciconf -vl and find out your card among those listed..  
 Then look into /usr/share/misc/pci_vendors to find then IDs.  
  
ARRGH!!! FFS!!! I ordered 2 of these, based on availability and the
list, and now  
i read i might be unsupported! :( Could NE1 please confirm this card is
running under  
FreeBSD 5.0? 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


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



Re: Login failure

2003-02-07 Thread Pascal Giannakakis
 Hi, 
 In order to make the user able to use mtools, access to A: that is, I put 
  a  
 line in fstab like: 
  
 /dev/fd0  /floppy msdos   rw wheel noauto 
  
 this made it. As user I could use the floppystation with mtools. 
 But starting the machine today failed. 
 Here is what it says: 
  
 fd0c: hard error reading fsbn 0 of 0-3 (No status) 
 msdos: /dev/fd0: Input/output error 
 Mounting /etc/fstab filesystems failed, startup aborted 
 Enter full pathname of shell or RETURN for /bin/sh: 
  
 Hitting return I'll get a prompt like: # 
 Doing a ls shows me I am in the / 
 I can cd to /etc 
 I can do a less fstab 
 I can open fstab in vi 
 But I can't save in vi 
 I think I shouldn't have putting in the line with msdos in the fstab but 
 I'm not able to take it away. 
  
 I hope for any suggestions here 
  
 Regards, Thomas 
 
I am not sure, but i think mount /dev/adXsY / will mount the drive R/W, so
that you 
can edit /etc/fstab (test with mount if it is mounted). Also you could use
the 
Live-CD-ROM (disk 2) with the Fixit-Console, then do fsck and/or mount
/dev/adXsY 
/mnt. You do have the 2nd disk, don't you? ;) 
 
That will render you workstation bootable, I can not help you with the
floppy though, 
sorry. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: power monitoring API

2003-02-07 Thread Pascal Giannakakis
  
 Hi, greetings all: 
  
   Is there any way (API or Macros) provided by FreeBSD that can monitor 
 power consumption? I would like to check how much energy consumed by some 
 operation (for example, sending a package). 
  
   Any suggestions on this are appreciated. 
  
 Cheers, 
 Ken 
 
Maybe this will run under Linux-Emu: http://secure.netroedge.com/~lm78/ 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: WLAN D-Link DWL-520+ not recognized

2003-02-04 Thread Pascal Giannakakis
 Pascal Giannakakis [EMAIL PROTECTED] wrote: 
  
  none2@pci0:8:0: class=0x028000 card=0x3b011186 chip=0x8400104c rev=0x00 

  hdr=0x00 
   vendor   = 'Texas Instruments (TI)' 
   device   = '802.11b+ 22Mbps Wireless Adapter' 
   class= network 
  
 We don't support that chipset.  From what I heard, TI doesn't make 
 documentation available. 
 
Oh what a big pain in the arse! :( Thx for the info, i will change the card.

 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



WLAN D-Link DWL-520+ not recognized

2003-02-03 Thread Pascal Giannakakis
Hi there,

i just plugged in my brand new D-Link DWL-520 WLAN PCI-card, but it is 
not listed in dmesg. What's wrong?

It is at least found in the PCI bus (pciconf -l -v):


none2@pci0:8:0: class=0x028000 card=0x3b011186 chip=0x8400104c rev=0x00 
hdr=0x00
vendor   = 'Texas Instruments (TI)'
device   = '802.11b+ 22Mbps Wireless Adapter'
class= network


wicontrol(8) tells me the chipset DWL-520 is supported (not the DWL-520+ 
though, but it should have the same chipset). I followed the 
instructions of the handbook, but ifconfig -a does not find wi0. :( OS 
is FreeBSD-CURRENT.

Thanx.


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


Re: X server for Windows

2003-01-31 Thread Pascal Giannakakis
Ben Williams schrieb:

Friday, January 31, 2003, 3:55:02 AM, you wrote:

AWA Hi,
AWA I need to connect to my FreeBSD box from a Windows PC using some kind of X 
AWA server for Windows. I was wondering if someone could be so kind and give me 
AWA a few recommendations?

AWA I only need a simple server, no print or stuff - just the plain (vnc-like) 
AWA thing.

AWA Thanks!
AWA /Andreas

X-Win32 by Starnet is the nicest win32 X Server I've seen, but you have to
buy it after the trial's up.

If you're into hacking around at things a bit there's an X Server
that'll run on cygwin (free) too. This is what I use.

Could you elaborate on Cygwin, please? Is there a tutorial on setup 
available (for X-Server, not Cygwin)? I remember i tried this long time 
ago, but couldn't manage to run it.


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


Compile for FreeBSD on another Sys?

2003-01-30 Thread Pascal Giannakakis
Hey list,

Please don't bash me if this sounds stupid to you, but most ideas that 
rock the world today were subject to public loughter in the past! :P

My FreeBSD server is a Cyrix C3 800 MHz / 256 MB which is slooow and 
my Windows Workstations has a AMD Athlon XP 2400+ / 1 GB. Is there any 
way to compile the sys (or even apps) on Windows for FreeBSD? FreeBSD 
5.0 compiling takes for ever...

Maybe with Cygwin?

Any hints appreciated, commercial stuff would be OK, too.

BTW: I tried to Install FreeBSD on the Athlon, but it couldn't handle 
the HPT 374 RAID.


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


Re: mozilla build port hangs at /usr/bin/sed

2003-01-28 Thread Pascal Giannakakis
 # [EMAIL PROTECTED] / 2003-01-27 13:12:39 +0100: 
  Hi,   
 
  i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this

  point:   
 
  /usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g


  /usr/ports/www/mozilla/files/mozilla.sh 
  /usr/ports/www/mozilla/work/mozilla/mozilla   
  (cd /usr/ports/www/mozilla/work/mozilla/dist/bin;  /usr/bin/env 
  LD_LIBRARY_PATH=.   
  MOZILLA_FIVE_HOME=. ./regxpcom;  /usr/bin/env LD_LIBRARY_PATH=. 
  MOZILLA_FIVE_HOME=.   
  ./regchrome;  /usr/bin/touch ./chrome/user-skins.rdf 
  ./chrome/user-locales.rdf)   
 
  What might be the reason? The ports tree is fresh.  
  
 It's caused by the fact that you didn't include the error message. 
 
There is no error message, it just prints this text during the portinstall
process, 
and hangs. It doesn't even use CPU time, it waits there for ever or CRTL +
C; whatever 
comes first. A package is not available, updating to 5.0 is currently not an
option. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



mozilla build port hangs at /usr/bin/sed

2003-01-27 Thread Pascal Giannakakis
Hi,  
  
i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this
point:  
  
/usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g   
/usr/ports/www/mozilla/files/mozilla.sh
/usr/ports/www/mozilla/work/mozilla/mozilla  
(cd /usr/ports/www/mozilla/work/mozilla/dist/bin;  /usr/bin/env
LD_LIBRARY_PATH=.  
MOZILLA_FIVE_HOME=. ./regxpcom;  /usr/bin/env LD_LIBRARY_PATH=.
MOZILLA_FIVE_HOME=.  
./regchrome;  /usr/bin/touch ./chrome/user-skins.rdf
./chrome/user-locales.rdf)  
  
What might be the reason? The ports tree is fresh. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



IPFW smart networkshaping like in Linux

2003-01-16 Thread Pascal Giannakakis
Lo ppl,

a few month ago there was an article in the german computer mag c't which
described how to tune an ADSL connection. One of the tips was to give small
IP-packages (64 bytes and less) a high priority. According to the article
this will result in an improved behaviour when up- and downstream are both
busy at the same time.

As i suffer exactly this problem, i would like to try it out on FreeBSD 5.
As i can not find what the command would be in FreeBSD - and if it is even
supported, i hope some of you FreeBSD / Linux guys can help me out. Here is
the Linux command:

# iptables -A POSTROUTING -t mangle -o ppp0 -p tcp -m length --length :64 -j
MARK --set-mark 12

The comlete script can be downloaded here:
http://www.heise.de/ct/ftp/02/24/224/

What would be the options in FreeBSD? Thanx!



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



FreeBSD 4.7 +JDK 1.4.x

2003-01-14 Thread Pascal Giannakakis
Hi there,

did anybody ever get this (FreeBSD 4.7 and JDK 1.4.x)  to run? While it
works as root, it crashes immediately with any other users. I have tried sun,
blackdown and ibm JDKs, none of them worked with normal users. IBM freezed
even as root.

Sticking with 1.3.1 is not an option in this case. If you have any tips,
please let me know!

Thx

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Strange FreeBSD / KDE behaviour during network problems

2003-01-10 Thread Pascal Giannakakis
Hi there, 
 
today our company's inet falled out for a few hours. Only intranet worked.
During this 
time I've booted my FreeBSD-STABLE (which took quite long due to ntpdate and
hostname) 
and tried to start KDE with startx. It did not work and din't even print
messages to 
the console. So I rebooted and tried again. Sometimes KDE started, sometimes
it 
didn't, and other times it started very slowly. Also not all (KDE)
applications could 
be launched. 
 
Well, I wonder what this could be. From my point of view this is rather
undefinable, 
and the sylogs don't reveal anything useful neither. What could be the
reason - and 
more important - how do I make my workstation work properly without inet? 
 
Thx 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Scanner for FreeBSD

2003-01-10 Thread Pascal Giannakakis
Hello, 
 
what do I have to consider when buying a flat bed scanner for a
FreeBSD-CURRENT box? 
Is there any possibilty to share the scanner in an Network, pretty much like
a 
printer? 
 
Thx 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: Warcraft 3 ipf ipnat question

2002-11-27 Thread Pascal Giannakakis
 Hi, 
  
 Please help me with the following problem. I'm not really a FreeBSD guru 
 yet. 
 I run FreeBSD 4.7 RELEASE with ipf/ipnat 
 I made an ipf.rules and a ipnat.rules. 
 I want to play Warcraft 3 behind my fbsd box. 
 That is as a matter of fact possible so that's ok. 
 The only thing i cannot do on Battle.net is hosting a game. 
 So when i create a custom game, people cannot join me :-( 
 I can join custom games, i can play ladder games. 
 So perhaps somebody with a fbsd box playing warcraft 3 behind it using 
 local 
 ip's like: 192.168.1.x 
  
 What really would help is if you paste your ipf.rules and your ipnat.rules

  
 Thx alot!! 
  
 horcy 
 
http://www.blizzard.com/support/?id=msi0445p 
 
HTH (sorry, no time for longer answer) 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: changing directory listing type

2002-11-26 Thread Pascal Giannakakis
 Hi, 
 I'm a new FreeBSD user and using FreBSD 4.6.2. I wonder if it is possible 
 to 
 colour directories in blue or symbolic links to another like linux 
 systems. 
 Now all them are in the same white colour. Is this simple? Thanks... 
 
# man ls 
 
The solution is ls -F. If you want to bind it permanently, edit your
~/.cshrc and 
add a line like this: 
 
alias ls ls -F 
 
You might consider this as more usefull: 
 
alias ll ls -alF 
 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: changing directory listing type

2002-11-26 Thread Pascal Giannakakis
 alias ls ls -F  
   
 You might consider this as more usefull:  
   
 alias ll ls -alF  
 
Sorry, it must be 
 
alias ls ls -G 
 
and 
 
alias ll ls -alG 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: How to make FreeBSD like NetBIOS names?

2002-11-24 Thread Pascal Giannakakis
 On Sun, Nov 24, 2002 at 01:47:54AM +0100, Pascal Giannakakis wrote:

  But how can i make FreeBSD use NetBIOS-names, so that commans like the
one
  below will work?
 
   ping winmachine
 
  I want my FreeBSD to resolve names this way:
 
  1.) /etc/hosts
  2.) NetBIOS names (probably managed by Samba)
  3.) DNS
 
  How do i achieve this? Thx.

 That's not possible in FreeBSD 4.x: there's no general support for
 NetBIOS name resolution outside of the Samba code.  Usually you can
 get along fine without it --- a good thing to do is ensure that the
 DNS and NetBIOS names of all your windows machines match up.  If you
 use a Windows DHCP/DNS server with dynamic DNS, you may be able to
 automate that.  Otherwise, you're going to have to lash something
 together with scripts or just manually keep your DNS in line with
 NetBIOS.

 In FreeBSD 5.x there will be support for Name Service Switch
 functionality, which will make it possible for someone to write an
 add-on to allow name resolution via NetBIOS.  However, that doesn't
 help here and now.

Please tell me more, i use FreeBSD 5.0-CURRENT. Has this made the way into
the handbook yet?



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



Re: Find abandoned packages

2002-11-23 Thread Pascal Giannakakis
 In the last episode (Nov 21), Pascal Giannakakis said:
   If you check out /var/db/pkg it lists what ports are installed
   essentially.  I don't know how to tell whether or not it?s a
   dependency
   though, so maybe someone else can answer that.  I'd like to know that
   too come to think of it.
 
  pkg_info or pkg_version - would be quite the same in this situation.
  What i need is an intelligent programm that finds old stuff, and best
  even offers a yes / no dialog to uninstall it.

 Lots of packages don't have dependencies because they are standalone
 programs, like netcat.  You probably don't want to prompt to
 deinstall those.

Yes, that is what i want. On my system there aren't a lot of packages, and
usually i know which i installed. The solution to my original problem is
very easy - i found it by accident, when i was reading docs out of boredom
and curiosity! :)

pkg_deinstall -rn *portname*

-r will show all packages that require *portname* to be installed
-n will prevent pkg_deinstall from actually performing the actions

It may also be run with -Rn instead of -rn to find what packages *portname*
needs to run. Yet this does not show a list, i still need to pick the port
manually out of the pkg_version or pkg_info list. Though better than
nothing.



 What you really need is a flag somewhere in the
 package list saying I was force-installed because of a dependency, so
 you can look for packages with this flag but no dependant packages.
 Unfortunately, this flag doesn't exist :)



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



How to make FreeBSD like NetBIOS names?

2002-11-23 Thread Pascal Giannakakis
Hi list,

i have installed the latest Samba here, and can access it from my W2K. I can
type \\freebsd\ in Explorer to access the FBSD-machine.

But how can i make FreeBSD use NetBIOS-names, so that commans like the one
below will work?

 ping winmachine

I want my FreeBSD to resolve names this way:

1.) /etc/hosts
2.) NetBIOS names (probably managed by Samba)
3.) DNS

How do i achieve this? Thx.



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



Re: Upgrading FreeBSD

2002-11-23 Thread Pascal Giannakakis
 I'm learning how the FreeBSD upgrade process works. I've got cvsup
 working and can grabe 4-stable.

 What I don't understand is the ports tree. Does it get updated when I do
 make buildworld etc...?

Nope. Look for a file ports-supfile on your system. You can make a copy
e.g. to /root and then run it with

# pkg_add -r cvsup-without-gui
# cvsup ports-supfile

Be sure to install the Port portupgrade and read it's manpage. It is a
great tool!

# pkg_add -r portupgrade

With portupgrade you can even upgrade all ports at once:

# portupgrade -rRPv \*

Have fun!

P.S.: Chapter 4 of the FreeBSD handbook.



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



Find abandoned packages

2002-11-21 Thread Pascal Giannakakis
Lo folks, 
 
how do you find installed ports / packages on your system, that are not
required by 
others? 
 
Thanx. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



RE: Find abandoned packages

2002-11-21 Thread Pascal Giannakakis
 If you check out /var/db/pkg it lists what ports are installed 
 essentially.  I don't know how to tell whether or not it’s a  
 dependency 
 though, so maybe someone else can answer that.  I'd like to know that 
 too come to think of it. 
 
pkg_info or pkg_version - would be quite the same in this situation. What i
need is an 
intelligent programm that finds old stuff, and best even offers a yes / no
dialog to 
uninstall it. 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: main disk just died

2002-10-23 Thread Pascal Giannakakis
 I tried naively to 'mount /dev/ad4s1 /mnt', but got : not 
 permitted. I also tried to handbook and google my way out of this 
 paperbag, but that didn't work either :)  
 
fsck -y /dev/ad4s1 
mount /dev/ad4s1 /mnt 
fsck -y /mnt/dev/ad4*whatever* 
mount /mnt/dev/ad4*whatever* /mnt/*wherever* 
 
If i'm not wrong, this is how i solved my crash yesterday. 
  

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: Upgrading Computer

2002-10-23 Thread Pascal Giannakakis
 I just aquired a pent 300 and was currently using a pent 200. But I used a
 
 GENERIC kernel that came with the FreeBSD because I never new how to  
 modify  
 it at the time. Because I never changed the Kernel can't I just switch the
 
 hardrives and network cards? From reading the boot up process I don't  
 think  
 there should be any problems.  
  
You might need to edit the /etc/fstab. This will most likely happen when
changing the 
IDE channel. What ever you do, FFS do a backup at least of /etc and have the
Fixit-CD 
by hand! Can't be mentioned often enough! 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread Pascal Giannakakis
Hello,

after a total systemfreeze - probably due to a new installed kernel - i had
to do a few resets. That bashed a few partiotions, among them the /files,
which is my largest and most valuable with around 30 GB.

All could be cleaned except of files, here is the output:

--
# fsck /files
** /dev/ad0s2e (NO WRITE)
** Last Mounted on /files
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? no

BLK(S) MISSING IN BIT MAPS
SALVAGE? no

5499 files, 23301161 used, 4289037 free (1517 frags, 535940 blocks, 0.0%
fragmentation)
--

What am i gonna do now? =(

BTW: i can mount and access the fs, but fear not everything survived. OS is
5.0-CURRENT.



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



Re: Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread Pascal Giannakakis
 Howabout answering these questions with 'yes' instead of 'no'? That always
 works for me. In fact, I have a hard drive on it's last legs, the other
day
 it apparently crashed, I hard-reset the computer, ran fsck -y on that disk
 and finally after running this about 8 times it finally was marked clean.

LOL

There is no prompt to type y or n, and it is the same with fsck -y. Sorry
for not mentioning this. Meanwhile i got the tip to try...

fsck -y /dev/ad0s2



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



Re: Uh-oh... fsck can't repair my files-partition!

2002-10-22 Thread Pascal Giannakakis
  LOL
  
  There is no prompt to type y or n, and it is the same with fsck -y.
  Sorry for not mentioning this. Meanwhile i got the tip to try...
 
 Dismount the volume before running fsck.  The (NO WRITE) message means
 that the filesystem was in use or otherwise read-only.

YES :D

Thank you guys, that's been the reason - needed to umount first.



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



Bluetooth (BlueZ) or WLAN in FreeBSD

2002-10-16 Thread Pascal Giannakakis

Lo ppl,  
  
i'd like to link a WinME PC to my FreeBSD via Bluetooth or WLAN, depending
on what  
works and / or is cheaper. The (air-line) distance is around 10 meters
through 2  
walls.  
  
What would you recommend for this scenario (e.g., what drivers will work
fine with  
FreeBSD)?  
  
- 2 WLAN devices  
- Internal PCI card  
- external USB box  
  
Or  
  
- 2 bluetooth USB dongles  
  
  
  
While i'm sure i will find a way to make windows use ip over bluetooth, i
wonder if  
FreeBSD in the latest release will make it. I found this project:  
http://bluez.sourceforge.net  
  
The FreeBSD mailing archives lead me to this link, but on this site it talks
of Linux 
only, and i cannot compile it on FreeBSD =( 
  
The bluetooth solution seems smarter to me, and i'd love to see it work on
my fav OS, 
as i can plug it out and carry it around in my pocket, use it with cellular
phones, 
notebooks, other computers etc, so i would try this if bluetooth is
supported at least 
in a basic manner. 
 
Any comments appreciated, thanx! 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: Problem compiling mpg123

2002-09-27 Thread Pascal Giannakakis

 I am running 4.6-STABLE on i396 and I cannot compile mpg123 as I get the 
 following error 
 any help appreciated 
 sincerely 
 Filippo 
 
I'm busy, so please excuse the short answer. 
 
- Did you update your ports-tree? The handbook has a chapter about updating
it. 
 
 
- Did you consider installing the binary version? 
 
# pkg_add -r mpg123 
 
If this doesnt work: 
 
# /stand/sysinstall 
 
- configure - packages - FTP (or FTP passive) - Primary Site - audio -
mpg123 
 
 
- Did you consider using mpg321? It's kinda mpg123 clone, works fine for me.

 
 
HTH! 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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



Writing a start / stop script (getting pid)

2002-09-24 Thread Pascal Giannakakis

Lo ppl, 
 
how to i get the pid of a process i start in a shellscript? 
 
The Variables $$ / $PID are not really of use. What i would like to have, is
some sort 
of command with has the return value of another startet script. 
 
The background: i try to write a rc.d script for ftpd, and i need the PID to
stop it 
again. 
 
Thx! 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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



RE: Writing a start / stop script (getting pid)

2002-09-24 Thread Pascal Giannakakis

I'm sorry, i searched for PID in the manpage... 
 
Thanks! 
 
 Pascal: 
  
 You can use the -p option of ftpd to write it's PID to a file. 
  
 Something like 
  
 ftpd -D -p /var/run/fptd.pid 
  
 should probably work. 
  
  - Barry 
  
 -- 
 Barry Byrne, IT Manager, 
 WBT Systems, Block 2, Harcourt Centre 
 Harcourt Street, Dublin 2, Ireland 
  
  -Original Message- 
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Pascal 
  Giannakakis 
  Sent: 24 September 2002 10:41 
  To: [EMAIL PROTECTED] 
  Subject: Writing a start / stop script (getting pid) 
  
  
  Lo ppl, 
  
  how to i get the pid of a process i start in a shellscript? 
  
  The Variables $$ / $PID are not really of use. What i would like 
  to have, is 
  some sort 
  of command with has the return value of another startet script. 
  
  The background: i try to write a rc.d script for ftpd, and i need 
  the PID to 
  stop it 
  again. 
  
  Thx! 
  
  -- 
  Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen - 
  und tolle Preise absahnen! http://www.onlinestar.de 
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED] 
  with unsubscribe freebsd-questions in the body of the message 
  
  

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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



Updating Kernel to newest Version

2002-09-23 Thread Pascal Giannakakis

Lo ppl, 
 
i updated my WS with the binary update from the 4.6.2 iso (CD 1). It
finished 
successfully, but my kernel remains in the old version. How do i get a
kernel of the 
new Version? I couldn't find anything about that in the handbook. 
 
thx 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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



Re: Updating Kernel to newest Version

2002-09-23 Thread Pascal Giannakakis

 Hello Pascal, 
  
 Monday, September 23, 2002, 11:54:16 AM, you wrote: 
  
 PG Lo ppl,  
   
 PG i updated my WS with the binary update from the 4.6.2 iso (CD 1). It 
 PG finished  
 PG successfully, but my kernel remains in the old version. How do i get a

 PG kernel of the  
 PG new Version? I couldn't find anything about that in the handbook.  
   
 PG thx  
  
  
 I guess you should to go to /usr/src/sys/i386/conf 
 then copy GENERIC to file with YOURNAMEFORKERNEL. 
 To make necessary changes in YUORKERNEL. Don't forget to change ident 
 from GENERIC to YUORKERNEL. 
 [...] 
 
What i wanted to know is how i can get the sources for 4.6.2. They are on CD
and can 
be copied with /stand/sysinstall - Configure - Distributions. Sorry if my
question 
was not specific enough. 
 
Now i copied and recompiled theem, and what a pain in the big A, i
accidently deleted 
the file with the accounts. DOH! =( Could fix it again, but a lot of trouble
for 
getting the kernel to the latest version... 
 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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



[SSH] Session Problem w/ 2 FreeBSDs

2002-09-17 Thread Pascal Giannakakis

Lo ppl,   
   
i've set up a FreeBSD server in the Intranet, so that we (my team and i) can
use it 
for testing purposes and hacking. My colleagues use W2K and can connect to
the server 
via their SSH immedeatly, but when i try to connect to it (i'm using FreeBSD
as my 
workstation-OS), it hangs a while until it prompts me for the password. 
 
Curious about what the reason might be, i startet the SSH-server in debug
mode (sshd 
-ddd), and got that line right before the hang: 
 
 
debug3: Trying to reverse map address 210.104.1.133. 
 
 
That IP is my WS'. After a minute (i think), i receive the password-prompt
at my 
client, and the server tells me: 
 
 
Could not reverse map address 210.104.1.133. 
debug1: PAM setting rhost address to 210.104.1.133. 
debug3: Attempting authentication for pg. 
 
 
Once i'm in, i can type and see the commands right away. 
 
Whats the reason for this lag? Maybe some sort of resolve name of host
issue? Any 
hints appreciated. Thx! 
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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



Re: [SSH] Session Problem w/ 2 FreeBSDs

2002-09-17 Thread Pascal Giannakakis

  debug3: Trying to reverse map address 210.104.1.133.   
   
 Does your box have reverse DNS set up?  I suspect your  
 VerifyReverseMapping  
 is set to yes.  
   
 So, either set up a reverse lookup for your host, or turn off   
 VerifyReverseMapping.  
 
I changed it, but it seems that the sshd on the server ignores this
directive in 
/etc/ssh/sshd_config. 
 
BTW: I didn't mix it up with ssh_config. 
 
What now? I cannot add a DNS at this time! =( 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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



Re: [SSH] Session Problem w/ 2 FreeBSDs

2002-09-17 Thread Pascal Giannakakis

 On Tue, Sep 17, 2002 at 03:59:09PM +0200, Pascal Giannakakis wrote: 
debug3: Trying to reverse map address 210.104.1.133.
  
   Does your box have reverse DNS set up?  I suspect your   
   VerifyReverseMapping   
   is set to yes.   
  
   So, either set up a reverse lookup for your host, or turn off
   VerifyReverseMapping.   

  I changed it, but it seems that the sshd on the server ignores this 
  directive in  
  /etc/ssh/sshd_config.  

  BTW: I didn't mix it up with ssh_config.  

  What now? I cannot add a DNS at this time! =(  
  
 Silly question, and forgive me for asking, but did you restart sshd after 
 making the change to its config? 
 
=) 
 
reboot 
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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