Re: unexpected trafic
In local.freebsd-hackers, you wrote: My freebsd5.1 emits some trafic: 20:32:41.496039 129dial.supernet.kz.52075 GATEKEEPER.MCAST.NET.1718: udp 31 H.323 (VoIP) Gatekeeper Discovery http://www.cs.columbia.edu/~hgs/rtp/h323.html -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME Neu! Ändern Sie den Anfangstag Ihrer Woche ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostap TX fix in 5.x
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 11mbit/half duplex 802.11b.. I've seen speeds at around 600KBytes/sec (4.6mbit/sec) which is about the best you can do - and isn't bad by any means. As I explained below, the problem is with FBSD 5.X (all the way to CURRENT), where I'm seeing the speeds drop from what they were in 4.x to around 180KBytes/sec (or 1.4mbit/sec). Scott On Thu, 29 Apr 2004, Brian Fundakowski Feldman wrote: Scott Pilz [EMAIL PROTECTED] wrote: Has anyone found a fix for this problem yet? Affects: In FreeBSD-5.x / Current Card Used: Prism 2.5, tried all firmware (from 1.3.9 to 1.7.2) While the interface (wi driver) is set to hostap, associated clients can upload at 11mbit/sec but download a maximum at half of that (I'm seeing a maximum being around 180KB/sec). I think you need to reevaluate testing procedures; there is no way you could be getting remotely close to 11mbit/s speeds. Please provide more accurate figures for comparison or it's hard to guess what might be wrong. -- Brian Fundakowski Feldman \'[ FreeBSD ]''\ [EMAIL PROTECTED] \ The Power to Serve! \ Opinions expressed are my own. \,,\ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAkRFH2REUg6gjWxgRAnG5AKDA4cDQxmSire/jqsh0b3hzkPgV4QCcCwc5 v+hY8uEoPTzNWraeDaTLNn8= =MFcP -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Extracting symbol info out of processes at runtime
On Thu, 29 Apr 2004 14:51:47 +0200 P. de Boer [EMAIL PROTECTED] wrote: On Thu, 2004-04-29 at 14:30, Dag-Erling Smørgrav wrote: P. de Boer [EMAIL PROTECTED] writes: For a little private project I'm working at, I need to find the address of a function which is inside a shared library of a running process, OR the base address the library is running at man dlinfo Well, yes, dlinfo() would be very useful, if it was not for my wish to read the link_map from another proces, using ptrace(). I've looked at rtld-elf.c, to see what dlinfo() does: it finds the object by the given address and then 'returns' the link_map for that object. However, I can't find out where this info would be in the memory image of a running process. Have a look at /proc/NNN/map (If trying to read it gives you File too large, try it with a bigger buffer size.) The segment load address is in the leftmost column. Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
/bin/sh question
Hello! We use recent -STABLE. We observed /bin/sh looping forever executing a script. We run this script with -T option to sh(1). When sh(1) receives a HUP, we entering our trap handler which spawns child process. When this process exits, sh(1) loops. The backtrace is the following: (gdb) bt #0 0x80763fc in wait4 () #1 0x8075941 in wait3 () #2 0x8051f8a in waitproc (block=1, status=0xbfbffa0c) at /mnt/backup/releng_4/src/bin/sh/jobs.c:1025 #3 0x8051cbd in dowait (block=1, job=0x80c6000) at /mnt/backup/releng_4/src/bin/sh/jobs.c:926 #4 0x8051b8a in waitforjob (jp=0x80c6000, origstatus=0xbfbffa88) at /mnt/backup/releng_4/src/bin/sh/jobs.c:870 #5 0x804be33 in evalcommand (cmd=0x80b6d6c, flags=0, backcmd=0x0) at /mnt/backup/releng_4/src/bin/sh/eval.c:904 #6 0x804acc0 in evaltree (n=0x80b6d6c, flags=0) at /mnt/backup/releng_4/src/bin/sh/eval.c:281 #7 0x804aafa in evaltree (n=0x80b6e04, flags=0) at /mnt/backup/releng_4/src/bin/sh/eval.c:199 #8 0x804aafa in evaltree (n=0x80b6e38, flags=0) at /mnt/backup/releng_4/src/bin/sh/eval.c:199 #9 0x804aa73 in evalstring ( s=0x80c5100 rm -f /tmp/st28742.box221.zecke.demos.su; _clean SIGHUP /dev/tt yph.28742.zecke.demos.su 28742; exit) at /mnt/backup/releng_4/src/bin/sh/eval.c:171 #10 0x80598da in dotrap () at /mnt/backup/releng_4/src/bin/sh/trap.c:401 #11 0x804acf6 in evaltree (n=0x80b6d00, flags=0) at /mnt/backup/releng_4/src/bin/sh/eval.c:290 #12 0x80528f4 in cmdloop (top=1) at /mnt/backup/releng_4/src/bin/sh/main.c:250 The waitproc() at jobs.c:926 returns -1 and sets errno to ECHILD (because the child does not exist at that time). Since (pid = 0) condition is true at jobs.c:935, -1 is returned and we are entering dotrap() at jobs.c:870. dotrap() never alters (struct job *)state. So we get an infinite loop around jobs.c:869. Unfortunatelly I can't provide a simple enough how-to-observe script for this, but the above logic seems weird for me. I can provide additional details or coredump if needed. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Accessing (the i4b) device driver
Hi all, I'm totally new to FreeBSD programming, so please forgive my troll-like question! I'd like to write a nifty little program showing if somebody is calling me via an ISDN line. In the far future, the program should show the caller's telephone number. The ISDN kernel options are set and compiled ok, the system comes up with isic0: ELSA MicroLink ISDN/PCI port 0xb800-0xb803,0xd000-0xd07f mem 0xeb80-0xeb80007f irq 9 at device 11.0 on pci2 isic0: passive stack unit 0 so I assume everything's working great so far. I've looked around in /usr/src/sys/i386/include/i4b_ioctl.h and other files but - to be honest - I don't have a clue how to go on from here. This kernel stuff seems to be more complicated than the usual little useless programs I write. :-( Could you please point me to some documentation that is helpful? Nothing in the FBSD developer/architecture handbook was able to enlighten me. Thanks in advance! Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless Card Issue AFTER Install
Craig Booth wrote: Anton, thank you for taking time to help. I have answered your questions within your text at the bottom of this email as best as I know how to as a raw BSD Unix user. I defentaley appologise for not answering for such a long time, my attention was caught in the anti-spam war (and I receive thousands of those things). Is it you that mailed me privately on if_atuwi.ko, or was it somebody else? I am sorry, I think it was somebody else (no results after a big search on my inbox). -Original Message- From: Anton Alin-Adrian [mailto:[EMAIL PROTECTED] Sent: Saturday, April 03, 2004 4:18 PM To: Craig Booth Cc: [EMAIL PROTECTED] Subject: Re: Wireless Card Issue AFTER Install Craig Booth wrote: Any guru out there that has the knowledge to provide some advice to persist the use of the Linksys card beyond the first install? I tried this question on the Questions mailing list, but no one could tackle it, unfortunately. Situation: I have set up my Sony VAIO PCG-FRV27 laptop as a dual boot machine between Win XP Pro and FreeBSD. I am using a Linksys Wireless card connecting through a Linksys router. My install successfully enabled and used the wireless card and router to install directly from the FreeBSD ftp site (after CD boot) and completed with no errors. Even though my rc.conf file is verified as setup with DHCP and the pccard enabled, and even though the startup processes appear to find and enable the card ok, I can't connect back to the ftp site to download more stuff unless I use the CD to restart the install over the ftp site again. It either can't resolve the ftp site, or hangs during the attempt. I have read where this can sometimes happen with dual boot machines when the other OS doesn't properly release the card, but I have tried unplugging the machine, removing and putting back both the card and the laptop battery before rebooting, and it still doesn't work. I am getting the [Null] [Null] message after the Linksys Card Found message during startup, as my earlier reading about the problem discussed, but nothing seems to change that, unless I reinstall FreeBSD from the CD (which I'm obviously not going to do everytime I want to use FreeBSD!) Two things I notice when I go to set up the media in SYSINSTALL. The gateway address (192.168.2.1) and the DHCP assigned address (range starting with 192.168.2.2), both present on this same screen when booting from the CD, are missing from the DHCP config screen that comes up just before SYSINSTALL attempts to connect to the ftp site, though the connection attempt still fails if I enter the info back in manually before trying to connect. Also, a message comes up before that which says something about being in multiuser mode, and ask if I want to assume network settings are already correct. (or something like that) This multiuser message is not present when booting from the CD. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, could you please provide a bit more info? What is the model of your Linksys card? Answer: Linksys Instant Wireless Network PC Card WPC11 V3.0 and what driver are you using for it? Answer: Win XP: Intersil islp2 version 2.0.10.0 FreeBSD: Intersil Firmware: Primary 1.01.00, Station 1.04.02 (as reported by FreeBSD) Is it supported on the FreeBSD hardware list? Answer: Yes How do you configure your wireless driver? Using what software/scripts? Don't skip details please. Answer: No software scripts, none that I initiated anyway. The wireless card is configured through the wi0 (Lucent WaveLAN/IEEE 802.11 wireless adapter) choice, since that was the only wireless adapter selection available on the SYSINSTALL menu. Again, it worked for the initial install, and when I try other choices, the logon scripts change it back to wi0 anyway, since that's apparently being picked up on auto-detection. Here are excerpts from the logon messages that may answer your questions, as well as provide a bit more insight: Apr 3 18:06:11 pccardd[49]:Card The Linksys Group, Inc.( Instant Wireless Network PC Card)[ISL37300P][RevA] matched The Linksys Group, Inc.( Instant Wireless Network PC Card)[(null)][(null)] . . . login: wi0 at port 0x240-0x27f irq11 slot 0 on pccard0 wi0: 802.11 address:00:06:25:15:f9:34 wi0: using RF:PRISM3(PCMCIA) wi0: Intensil Firmware: Primary 1.01.00, Station 1.04.02 Apr 3 18:06:16 pccardd[49]:wi0: The Linksys Group, Inc.( Instant Wireless Network PC Card inserted. Apr 3 18:06:25 pccard[49]: pccardd started Trying a non-DHCP config for testing might help. See if you can ping. Can you ping your own IP of the wireless card, locally? Answer: I pinged 192.168.2.100 successfully. However, I'm not sure how to find out the local address of the card, as 192.168.2.100 was what DHCP assigned, I believe. Can you ping the broadcast IP
Re: Accessing (the i4b) device driver
On Fri, 30 Apr 2004, Martin Moeller wrote: I'm totally new to FreeBSD programming, so please forgive my troll-like question! I'd like to write a nifty little program showing if somebody is calling me via an ISDN line. In the far future, the program should show the caller's telephone number. I am using this ince-quickly-hacked script with c4b and isdnd: tail -100f /var/log/isdnd.log | perl bin/parse-isdnd-log.pl --- cut --- #!/usr/bin/perl $|=1; while () { s/^(\w+ \d+ \d+:\d+:\d+) \w+ \w+\[\d+\]/$1/; if (/CHD/) { s/CHD \d+ //; print $_; } } # End; --- cut --- Gives me s.th. like this: Apr 28 16:30:35: unknown incoming call from NotAvailable to 41 ctrl 3 or Apr 28 17:23:30: unknown incoming call from 01234567890 to 41 ctrl 3 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Squid, SquidGuard, FreeBSD
Has any one successfully done squid with squidGuard on a FreeBSD later then 4.5 ? I have made it work on 4.5 but nothing later because of the berkly db changes after 4.5, if you have made contentent filtering work on FreeBSD-current can I get some tips? I like 4.5 but 4.9 has better hardware coverage. [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]