New to FreeBSD
Hi JCBotha If you're really new to unix, then set up a second machine to play with, but do not set up a server on it. When you know unix then setup postfix and qpopper. A very good windows package is the argosoft mailer, which can be downloaded at http://www.argosoft.com Before postfix I used that package which is very good. Jack PLease do not use mime in mailing lists! Dear Sir I am new to this operating system and became interested when I started to look at a solution for a network set-up. I do not know if I will be able to master this OS because I grew up with Windows and know nothing about UNIX OS systems. With windows I at least can help myself and find my way around. I need to set up a server that host an Internet (POP3) connection for three different networks that must not be able to communicate with one other. Top security is needed. The reason is this is a Teachers training collage, the one network is for the admin department and another for the staff and lastly the student network. Just by the way, will this modem connection be able to handle about 30 computers on the network. I know that an ISDN connection will be better but presently we do not have anything ells. The server that I would like to set up should be able to record all student activities in the sense to monitor the web pages visited and the printing that has been done plus to forbid certain printings such as web pages. What do you suggest me to do, start from scratch and study a UNIX system or face the Windows server package. Yours truly JC Botha With greetings ... Jack Raats To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How to safely unmount a filesystem mounted async?
For performance reasons, I have a filesystem mounted with the async option. The FS isn't used for anything I really value, just assorted object files and other temp data. My question, though, is, how do I safely unmount an active async filesystem? Does the unmount process automatically force a complete flush to disk? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
HP ScanJet 2300c with SANE
Hello, I have a HP ScanJet 2300c USB scanner. It's not listed as supported by the SANE hp backend. I see there's work in progress for the 2200c, but no mention anywhere of the 2300c. Just in case I've missed something glaringly obvious: does anyone on the list have a 2300c, and have you got it going under FreeBSD? -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Backups
My question is for all the rsync fans. (I have installed and am reading man pages). What would you suggest for a command line in crone to completely mirror one disk to another (both local). Permissions, ownerships, hidden files etc etc etc. Try: rsync -vaHxS and probably -e if you want to use ssh instead of rlogin. Hope that helps, Gernot Weber To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Uninstalling nvidia drivers on freebsd-5.0
I installed the nvidia drivers on freebsd-5.0 by commenting out the appropiate lines in src/nv-freebsd.h, but all it does is make my machine freeze. So I tried to go back to the nv driver, but when I did X gave me this error: Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! I reinstalled Mesa thinging that might fix the problem (since it seems to be a gl thing) but that didn't change anything. So I tried to just take Load dri out of the X config file. When I do that, X crashes on [GLX]: Calling GlxExtensionInit. How can I restore my system back to normal? Or better yet, how can I get the nvidia drivers working on freebsd-5.0? I think I have heard at least one person on here had them working. erik To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to safely unmount a filesystem mounted async?
On Wed, Jan 22, 2003 at 12:02:14AM -0800, Darren Pilgrim wrote: For performance reasons, I have a filesystem mounted with the async option. The FS isn't used for anything I really value, just assorted object files and other temp data. My question, though, is, how do I safely unmount an active async filesystem? Does the unmount process automatically force a complete flush to disk? You unmount the same way you would any other filesystem. Yes, doing an unmount will automatically flush any unwritten data to the disk. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
New user problems with FreeBSD 5.0
Hi, I'm fairly new to BSD and have a question on what to do when I have a problem installing the system. I have checked the documentation and searched the website but have not found anything yet. I am running a Sony VAIO PCG-GR114EK and the system hangs when it gets to the cardbus. I've seen that this has already been submitted as a problem report. How do I get the system to boot and thus install from CD without this module? I've tried disable-module but it says it can't find the module I'm trying to disable. I'm used to BeOS where it's possible to disable the computer BIOS when there are problems which is necessary on this machine. Is something similar possible with FreeBSD? Thank you very much Charlie Clark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD release 5. 3Com 3CCFE575CT (Cardbus)
In eager anticipation I rammed this into my freshly installed and RELENG_5_0 box. Imagine the disappointment... I tried booting with the card in and out and tooling around with pccard.conf but.. no joy cbb1: card inserted: event=0x, state=3820 cbb1: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44] cbb1: cbb_power: CARD_VCC_3V and CARD_VPP_VCC [11] found- vendor=0x10b7, dev=0x5257, revid=0x10 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x0a (2500 ns), maxlat=0x05 (1250 ns) intpin=a, irq=255 Manufacturer ID: 01015752 cardbus1: Opening BAR: type=IO, bar=10, len=0040 Product version: 5.0 Product name: 3Com Corporation | 3CCFE575CT | LAN Cardbus Card | 004 | Functions: Network Adaptor, Memory CIS reading done cardbus1: Resource not specified in CIS: id=14, size=80 cardbus1: Resource not specified in CIS: id=18, size=80 cardbus1: Non-prefetchable memory at 88002400-880024ff cardbus1: Non-prefetchable memory rid=18 at 88002400-8800247f (80) cardbus1: Non-prefetchable memory rid=14 at 88002480-880024ff (80) cardbus1: IO port at 1080-10bf cardbus1: IO port rid=10 at 1080-10bf xl0: 3Com 3c575C Fast Etherlink XL port 0x1080-0x10bf mem 0x88002400-0x8800247f,0x88002480-0x880024ff irq 9 at device 0.0 on cardbus1 xl0: reset didn't complete xl0: command never completed! xl0: command never completed! xl0: eeprom failed to come ready xl0: failed to read station address device_probe_and_attach: xl0 attach returned 6 cbb1: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44] cbb1: CardBus card activation failed To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD release 5. Xircom CEM56-100
Not to worry I thought, I'll get out my trusty Xircom CEM56-100 and whack that in to the aforementioned FreeBSD 5.0 freshly installed and cvsupped and that'll see me right. Bugger Panic, press a button on the console or instant reboot in 15 secs.. So all in all, it looks like its back to 4.7, if anyone cares to reply and ask me do anything over the next 2.5 days that's cool but I need a working laptop at the weekend :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
I need your help!
Hello FreeBSD-Team i had the freebsd 4.7 version installed. but i have a big problem with a *.tar.gz file, i can't open it with the tar/gzip programm. the error message says : tar skipping to next header tar Archive contains absolexient base 64-headers gzip stdin invalid compressed data--format violated tar child returned status 1 tar error exit daleyed from previous errors why this ? whats the problem ? please help me greets Phil _ RCN - www.root-core.org _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP more! http://www.everyone.net/selectmail?campaign=tag To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
simple ipfw question
Greetings, I am attempting to build a dual-homed firewall using FreeBSD 4.7 RELEASE. The PC is presently connected to a corporate LAN with DHCP and DNS servers and a broadband connection to the Internet. The outside interface (rl0) is configured as follows: IP address: a.b.148.62 (dynamically assigned) Subnet: 255.255.248.0 Gateway: a.b.144.254 DNS: a.b.144.1 The inside interface (rl1) is configured as follows: IP address: 192.168.1.1 Subnet: 255.255.255.0 My private network consists of one workstation which is set up as follows: IP address: 192.168.1.2 Subnet: 255.255.255.0 Gateway: 192.168.168.1 DNS: a.b.144.1 When I use the open ruleset in /etc/rc.firewall, the workstation on my private network can get through the firewall to the LAN and the Internet. When I switch to the simple ruleset, the firewall stops forwarding packets. From the console, I can ping the outside and inside interfaces, but nothing else. Everything looks normal in dmesg. Additional info upon request! Brian Davis To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple ipfw question
Brian Davis wrote: Greetings, I am attempting to build a dual-homed firewall using FreeBSD 4.7 RELEASE. The PC is presently connected to a corporate LAN with DHCP and DNS servers and a broadband connection to the Internet. The outside interface (rl0) is configured as follows: IP address: a.b.148.62 (dynamically assigned) Subnet: 255.255.248.0 Gateway: a.b.144.254 DNS: a.b.144.1 The inside interface (rl1) is configured as follows: IP address: 192.168.1.1 Subnet: 255.255.255.0 My private network consists of one workstation which is set up as follows: IP address: 192.168.1.2 Subnet: 255.255.255.0 Gateway: 192.168.168.1 DNS: a.b.144.1 When I use the open ruleset in /etc/rc.firewall, the workstation on my private network can get through the firewall to the LAN and the Internet. When I switch to the simple ruleset, the firewall stops forwarding packets. From the console, I can ping the outside and inside interfaces, but nothing else. Everything looks normal in dmesg. Additional info upon request! Did you tweak the /etc/rc.firewall script to insert your IP address ranges into it? (look for the simple section of the script and tweak the iif, iip, oif, oip, etc ... values) If that doesn't help, try posting the output of 'ipfw show' to the list. It'll make it a lot easier for folks to diagnose. -- 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
Re: routing problem on 4.7 release
twig les wrote: Hey all, I have a 4.7 release box that needs to cvsup its ports. The problem is that this box never sees the outside world normally; it does IDS on an IP-less interface and of course has a backnet interface. So basically I added a temporary IP address to this box, edited my /etc/cvsupfile to use the IP address of the cvs server (to avoid dealing with DNS), added a few lines in IPFW and then used the route command to force packets out the correct interface. The problem is that packets destined for the legal gateway (I'll call it 1.1.1.1) are still going out the backnet interface. So if I ping 1.1.1.1, I can sit and watch access-list denies show up as the backnet interface tries to ping an IP that isn't even reachable. The fact that these pings are getting out tells me that IPFW isn't the problem and that the route table is screwed up. Please chime in if anyone has an answer, all I need to do is add a static route temporarily. My config looks like this below. As you may notice, I even tried adding a route to 1.1.1.1 out the specific interface route -n add 1.1.1.1/26 -interface ti0. mas01# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.20.0.1 UGSc7 56 fxp0 10.20/25 link#1 UC 20 fxp0 10.20.0.1 00:00:0c:07:ac:60 UHLW54 fxp0 1196 10.20.0.14 00:60:ab:03:7d:2f UHLW00 fxp0938 1.1.1.1/32 00:00:00:00:00:00 ULSc0 12ti0 1.1.1.1/26 link#2 UC 00ti0 127.0.0.1 127.0.0.1 UH 0 604lo0 165.64.255/24 1.1.1.1UGSc00 fxp0 208.185.175.214/32 1.1.1.1UGSc10 fxp0 Ouch ... please configure your mailer so it doesn't wrap netstat -rn output. I feel like I'm decyphering a secret code. I'm a little confused by your explanation. I thought 1.1.1.1 was the IP of the gateway you want to use? My suggestion might be bogus, since I'm not 100% sure I understand, but try this: ifconfig ti0 inet 1.1.1.1 netmask 255.255.255.0 Set the IP address on the gateway to 1.1.1.2 route delete default route add default 1.1.1.2 If you really want 10.20.0.1 to be your default route, add it back in after the cvsup is done: route delete default route add default 10.20.0.1 Note that this might disrupt services not on the local network during the cvsup, so it might not be the solution you really want. But if it works, you'll be one step closer to a real solution. Do you have additional machines off fxp0 that this machine needs to go through a gateway to access? -- 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
Subnetting or Bridging to secure different dapartments on our School LAN?
Dear all I'd be very grateful for any insights you could share... Our school network continues to grow. Different departments within the school wish to piggy-back their windows machines on to our broadband internet connection, via our 100Mbps wired LAN within the building. Before I can allow anymore machines on, I need to put a measure of security in place - principally between the school Admin and Curriculum 'networks' and also between the other 3 departments who share the site with us. I was thinking along the lines of subnetting our existing network and applying a firewall between each sub-net. Currently, our setup comprises of two FreeBSD (4.5RELENG) boxes - one acting as a gateway/firewall between our private network (10.x.x.x/8) and the ADSL router, the other as a fileserver/web proxy/redirector and email server to our 40 or so Windows clients. DHCP and DNS is provided by the gateway. The gateway currently runs with two NICs - one to a switch, the other to the ADSL router. All other machines, including the fileserver hang off the switch. The ADSL router has another 3 10Mbps ports available for direct connection. The Admin and Curriculum users need to share the fileserver (for now, at least.) The other new users simply need the broadband connectivity (with or without the web-proxy facility that currently sits on the fileserver.) Questions: Do I consider placing more NICs into the gateway in order to create (along with a few switches) the new sub-nets, placing a firewall (ipfw) between each interface? Is it even possible to run 1 ipfw on the same box? Do I build a couple of cheap boxes (like the P90 I'm using for the current gateway) with FreeBSD and set them up for bridging along with ipfw? Do I buy a few hardware routers with firewall facility and build my sub-nets that way? Do I use ifconfig to alias the one internal NIC in the present gateway to create virtual sub-nets? Is a firewall really what I need to restrict particular traffic (like SMB browsing) across the sub-nets? Or, am I barking up the wrong tree (spanning, or otherwise...)? Thanks in advance. Martyn Hill ICT Teacher and IT Coordinator St James Independent School London To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
unsubscribe freebsd-questions is not working
To list monitor: I have attempted to unsubscribe from this mailing list thought normal procedure. The system is not removing my email address. Please remove my email. Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
questions about static ipfw rules
running 4.7 with firewall, natd enabled kernel. i wish to create firewall rules outside of the rc.firewall script that remain static across reboots. to that end, i created a set (rc.firewall.rules), pointing rc.conf to that set: firewall_enable=YES firewall_type=/etc/rc.firewall.rules natd_enable=YES.etc /etc/rc.firewall.rules lines are in the format: add 00100 all ip from any to any via lo0 add 00200 deny ip from any to 127.0.0.0/8 ...etc. is this right? when i boot to these conditions, and ipfw show, i get the set that appears when i set firewall_type=OPEN is this the proper format for rules in a static file? regards to all! stephen d. kingrea To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: questions about static ipfw rules
Stephen D. Kingrea [EMAIL PROTECTED] writes: firewall_enable=YES firewall_type=/etc/rc.firewall.rules This should be one of client etc, see rc(8) for more information. norbert. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: questions about static ipfw rules
On Wed, Jan 22, 2003 at 09:45:09AM -0500, Stephen D. Kingrea wrote: running 4.7 with firewall, natd enabled kernel. i wish to create firewall rules outside of the rc.firewall script that remain static across reboots. to that end, i created a set (rc.firewall.rules), pointing rc.conf to that set: firewall_enable=YES firewall_type=/etc/rc.firewall.rules You should change firewall_type to firewall_script. You should then find all works as you want. natd_enable=YES.etc /etc/rc.firewall.rules lines are in the format: add 00100 all ip from any to any via lo0 add 00200 deny ip from any to 127.0.0.0/8 ...etc. is this right? when i boot to these conditions, and ipfw show, i get the set that appears when i set firewall_type=OPEN is this the proper format for rules in a static file? regards to all! stephen d. kingrea To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Subnetting or Bridging to secure different dapartments on ourSchool LAN?
Martyn Hill wrote: Dear all I'd be very grateful for any insights you could share... Our school network continues to grow. Different departments within the school wish to piggy-back their windows machines on to our broadband internet connection, via our 100Mbps wired LAN within the building. Before I can allow anymore machines on, I need to put a measure of security in place - principally between the school Admin and Curriculum 'networks' and also between the other 3 departments who share the site with us. I was thinking along the lines of subnetting our existing network and applying a firewall between each sub-net. Currently, our setup comprises of two FreeBSD (4.5RELENG) boxes - one acting as a gateway/firewall between our private network (10.x.x.x/8) and the ADSL router, the other as a fileserver/web proxy/redirector and email server to our 40 or so Windows clients. DHCP and DNS is provided by the gateway. The gateway currently runs with two NICs - one to a switch, the other to the ADSL router. All other machines, including the fileserver hang off the switch. The ADSL router has another 3 10Mbps ports available for direct connection. The Admin and Curriculum users need to share the fileserver (for now, at least.) The other new users simply need the broadband connectivity (with or without the web-proxy facility that currently sits on the fileserver.) Questions: Do I consider placing more NICs into the gateway in order to create (along with a few switches) the new sub-nets, placing a firewall (ipfw) between each interface? Definately consider it as one possible method. another way is to use two NICs and the NIC on the internal side will have multiple IP addys. I've done this with success. Is it even possible to run 1 ipfw on the same box? You don't really run more than 1 IPFW, you just add rules that apply to the additional interfaces (the rule list can get long and obnoxious, but I guess that's just life) Do I build a couple of cheap boxes (like the P90 I'm using for the current gateway) with FreeBSD and set them up for bridging along with ipfw? That's another approach that would work. Do I buy a few hardware routers with firewall facility and build my sub-nets that way? That would work too. Do I use ifconfig to alias the one internal NIC in the present gateway to create virtual sub-nets? That would be the method I would suggest, however without more details of your network it's kind of hard to be sure it's the best method. What you could do is: ADSL router | FreeBSD BOX | switch / | \ / | \ /|\ hub1 hub2 hub3 / | \ subnet1 subnet2 subnet3 The switch will keep traffic from subnet1 off subnet2 subnet3 (and vise versa) The freeBSD box has 2 nics, one to the ADSL, the other to the switch. The NIC to the switch has an IP for each subnet and IPFW rules for each IP. If the IPFW rules are identical for each subnet, you'll be able to consolidate them a good bit. Is a firewall really what I need to restrict particular traffic (like SMB browsing) across the sub-nets? Well, the switch will take care of most of that for you. But a firewall will give you more control over what does and does not pass. Or, am I barking up the wrong tree (spanning, or otherwise...)? No, sounds like you're asking the right questions and considering the right options. Which one is really best depends a lot on details that you haven't yet provided. Like, what traffic _exactly_ do you want to prevent from crossing subnets? SMB browse announcements won't cross subnets, for example (they'll get stopped at the switch) but cross-network browsing is still possible by IP address (or if you use WINS). What this means (from a Windows perspective) is that Windows machines on subnet1 won't see Windows machines on subnet2 in their network neighborhood, but they will be able to access them if the user knows the IP address of the machine he wants to connect to. So it depends on whether you want to offer _real_ security or just obscurity. (this is dependent on using the method I diagramed above, other methods offer different levels of security/obscurity) -- 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
Re: questions about static ipfw rules
On Wed, Jan 22, 2003 at 03:18:33PM +, Daniel Bye wrote: On Wed, Jan 22, 2003 at 09:45:09AM -0500, Stephen D. Kingrea wrote: running 4.7 with firewall, natd enabled kernel. i wish to create firewall rules outside of the rc.firewall script that remain static across reboots. to that end, i created a set (rc.firewall.rules), pointing rc.conf to that set: firewall_enable=YES firewall_type=/etc/rc.firewall.rules You should change firewall_type to firewall_script. You should then find all works as you want. Well, almost... If you do it this way, you need to make sure the script file is executable and makes sense as a shell script. I use something like #!/bin/sh IPFW=/sbin/ipfw ${IPFW} -f flush ${IPFW} add 100 allow ip from any to any via lo0 ... etc. It works well for me. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: New to FreeBSD
On Wed, Jan 22, 2003 at 09:47:10AM +0200, JCBotha wrote: Dear Sir I am new to this operating system and became interested when I started to look at a solution for a network set-up. I do not know if I will be able to master this OS because I grew up with Windows and know nothing about UNIX OS systems. With windows I at least can help myself and find my way around. I need to set up a server that host an Internet (POP3) connection for three different networks that must not be able to communicate with one other. Top security is needed. The reason is this is a Teachers training collage, the one network is for the admin department and another for the staff and lastly the student network. Just by the way, will this modem connection be able to handle about 30 computers on the network. I know that an ISDN connection will be better but presently we do not have anything ells. The server that I would like to set up should be able to record all student activities in the sense to monitor the web pages visited and the printing that has been done plus to forbid certain printings such as web pages. What do you suggest me to do, start from scratch and study a UNIX system or face the Windows server package. Yours truly JC Botha There is a tremendous amount of online documentation for FreeBSD (and many other UNIX derivative systems). The first place to start is usually the FreeBSD Handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html (it's in other langs than English if you need them). Also, the documentation that comes with each FreeBSD in the form of what are called man pages (manual pages) is very extensive and quite easy to use. For more places on which to get help check out: http://www.freebsd.org/docs.html. Of course, there are always support forums like this one (freebsd-question), as well as a couple of news groups. There may very well be a FreeBSD users group near you as well. Per your own words, I suggest you start from scratch and study a UNIX system. You will not regret the decision down the road. You may find the learning curve somewhat steep if you have no familiarity with working at a command line. However, once you hammer out some of the basics and begin to become proficient you will probably start to find MS Windows intolerably imposing and restrictive. Good luck, Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg16300/pgp0.pgp Description: PGP signature
Problems with Netatalk 1.6
I want to have netatalk 1.6 to run on it. But after ./configure comes only: error Berkeley DB3 not found What can I do? Helmut -- +++ 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: Problems with Netatalk 1.6
On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: I want to have netatalk 1.6 to run on it. But after ./configure comes only: error Berkeley DB3 not found What can I do? Helmut Are you installing it from the ports-system? Did you go to /usr/ports/net/netatalk and run make? If you want to install the app not using the ports-system you could try to install /usr/ports/databases/db3 and then once again try to ./configure Netatalk. Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 4.7 - 5.0 (Removing Perl/UUCP safly?)
* Karl M. Joch [01/22/2003 08:29]: thats for sure one way, but deleting by date could maybe let some stuff back. a touch on any file egardless the reason of it would cause the date to change too. so a list of files which are to remove would be fine. then there would be the possibility of making a script which deletes the files and the updated system would be clean. i think i will make a diff of the trees 4.7 and 5.0 and then a script of it. but as more people upgrade the question will come up very often i think or it will cause lot of troubles with perl when letting the 4.x stuff on the box. There was actually a bunch of stuff left from 4.7... other than uucp and perl. Looking through it, one could tell that some things were just renamed on the new release. It sure would be nice if an installworld would clean that stuff up. In addition, there were man pages and docs for the old perl located outside the /bin /sbin /usr/bin /user/sbin directories that needed cleaning up... as well as some uucp stuff in /var/spool. Also a couple of periodic jobs relating to uucp. i havnt tried till now. have you included the COMPAT 4 option in the kernel to still be able to run the 4.x binaries? i succussfull build 5.0 on a box running 4.7. till now (except the a.ot - elf update) it always worked in multiuser mode too. sometimes after the first rebbot a second installworld was neccecary but it worked. but i will try today if installword lets me do it and then post the result. i only dont want to travel thousends of km to boxes to do a installworld. Yes, the COMPAT_FREEBSD4 was compiled into my kernel by default. The thing is, the installworld does a kernel test to determine if the running kernel is recent enough. So I don't know how you'd installworld while on the old 4.7 kernel. In my case, the test failure was indicated by a segfault. (not the nicest way, but it certainly got it's point across) -- -=Elden=- http://www.moondog.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
to make or add a package
I'm very impressed with the ports collection. I have found there are two was to install a port, through pkg_add or the make. I was wondering that if a port were a make, if the compiler would do any optimizations on the final executable, therefore giving me a faster/smaller/whatever application. Maybe there would be no significant difference. But, if I have the time to wait, is it worth it? -- David Bear College of Public Programs/ASU Mail Code 0803 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: to make or add a package
David Bear wrote: I'm very impressed with the ports collection. I have found there are two was to install a port, through pkg_add or the make. I was wondering that if a port were a make, if the compiler would do any optimizations on the final executable, therefore giving me a faster/smaller/whatever application. Maybe there would be no significant difference. But, if I have the time to wait, is it worth it? [Please wrap lines at a reasonable length] I think the man page for make.conf will tell you what you need to know. man make.conf Additional, many ports have customizations that can be done to include/omit optional parts of the port. This is a port-by-port situation, and each port is different. Usually, looking at the Makefile for the particular port will tell you what you need to know. If this doesn't answer your questions, please post again. -- 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
RE: to make or add a package
[EMAIL PROTECTED] wrote: I'm very impressed with the ports collection. I have found there are two was to install a port, through pkg_add or the make. I was wondering that if a port were a make, if the compiler would do any optimizations on the final executable, therefore giving me a faster/smaller/whatever application. Maybe there would be no significant difference. But, if I have the time to wait, is it worth it? Look at /etc/defaults/make.conf. There you can set some compiler options. Just copy the changes to /etc/make.conf. With 5.0 the directory is /usr/shaer/examples/etc/make.conf. Also copy the neccesary lines to /etc/make.conf. Best regards, -Harry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: to make or add a package
[Text formatting corrected.] In [EMAIL PROTECTED], David Bear [EMAIL PROTECTED] typed: I'm very impressed with the ports collection. [Pat jkh on the back, though it's a long reach from here.] I have found there are two was to install a port, through pkg_add or the make. I was wondering that if a port were a make, if the compiler would do any optimizations on the final executable, therefore giving me a faster/smaller/whatever application. Maybe there would be no significant difference. But, if I have the time to wait, is it worth it? You can set CFLAGS in /etc/make.conf, and those optimizations/machine types will be used at build time. Whether that makes a difference to you is up to you. You can also set build options to change the location where the executables live - though that tends to cause some ports to fail - or specify what parts of the package you do/don't want built. Personally, I always build from ports. If nothing else, having the source handy is worth a little extra time. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: New to FreeBSD
On Wed, 2003-01-22 at 10:40, Nathan Kinkade wrote: On Wed, Jan 22, 2003 at 09:47:10AM +0200, JCBotha wrote: Dear Sir I am new to this operating system and became interested when I started to look at a solution for a network set-up. I do not know if I will be able to master this OS because I grew up with Windows and know nothing about UNIX OS systems. With windows I at least can help myself and find my way around. I need to set up a server that host an Internet (POP3) connection for three different networks that must not be able to communicate with one other. Top security is needed. The reason is this is a Teachers training collage, the one network is for the admin department and another for the staff and lastly the student network. Just by the way, will this modem connection be able to handle about 30 computers on the network. I know that an ISDN connection will be better but presently we do not have anything ells. The server that I would like to set up should be able to record all student activities in the sense to monitor the web pages visited and the printing that has been done plus to forbid certain printings such as web pages. What do you suggest me to do, start from scratch and study a UNIX system or face the Windows server package. Yours truly JC Botha There is a tremendous amount of online documentation for FreeBSD (and many other UNIX derivative systems). The first place to start is usually the FreeBSD Handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html (it's in other langs than English if you need them). Also, the documentation that comes with each FreeBSD in the form of what are called man pages (manual pages) is very extensive and quite easy to use. For more places on which to get help check out: http://www.freebsd.org/docs.html. Of course, there are always support forums like this one (freebsd-question), as well as a couple of news groups. There may very well be a FreeBSD users group near you as well. Per your own words, I suggest you start from scratch and study a UNIX system. You will not regret the decision down the road. You may find the learning curve somewhat steep if you have no familiarity with working at a command line. However, once you hammer out some of the basics and begin to become proficient you will probably start to find MS Windows intolerably imposing and restrictive. Good luck, Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc I agree with Nathan. I picked up fBSD about a year and a half ago to build a firewall. Now I know how to configure most of the servers that are needed, firewall, www, email. I can setup a secure server in a half a day and know my way around the system really well. I won't lie to you, it takes time, but once you learn it you will never understand why you use windows. (If it wasn't for my fiance I would use fBSD all the time, but she isn't ready for the jump yet). You should just jump in, there are tons of docs on the web...man pages are amazing and the handbook is always up to date. One thing I recommend, learn the command prompt before you put a gui on. That is one area that I really focused on, now I use a gui just b/c it looks a little better. Command line is the best way to work. Welcome to the Real. Asenchi To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
problems with adding ipfw rules via raw sockets
Hi ppl! I need to use direct access ti ipfw rules via raw sockets instead of some scripts using ipfw utility. I looked into ipfw sources and made a simple program to test if I could add a simple rule this way. Just rewrote pieces of original code intomy program w/out any serious change. But setsockopt() always return EINVAL and string msg Invalid argument. And no details. Hence I'm in a fix. Icannot get what's wrong indeed. Here I place my code (short anough). Any advice would be appritiated. Maybe some links to some docs - I failed to find anything but a very short info in manpages. #includestdlib.h #includesys/types.h #includesys/socket.h #includesys/queue.h #includenetinet/in.h #includenetinet/ip_fw.h #includearpa/inet.h #includenetdb.h #includeerrno.h inttest(void) { int sock,res,sz; struct ip_fw rule; sock = socket(AF_INET,SOCK_RAW,IPPROTO_RAW); if (sock==-1) {printf(\n\nsoket() failed with \%s\\n\n,strerror(errno)); return -1;}; printf(\nsock = %i\n,sock); memset(rule,0,sizeof(struct ip_fw)); rule.fw_number = 700; rule.fw_flg = IP_FW_F_DENY; rule.fw_src.s_addr = inet_addr(195.48.121.34); rule.fw_smsk.s_addr = inet_addr(255.255.255.255); rule.fw_dst.s_addr = inet_addr(127.0.0.0); rule.fw_dmsk.s_addr = inet_addr(255.0.0.0); rule.fw_prot = IPPROTO_IP; sz = sizeof(struct ip_fw); res = setsockopt(sock,IPPROTO_IP,IP_FW_ADD,rule,sz); if (res==-1) {printf(\n\nsetsockopt() failed with \%s\\n\n,strerror(errno)); return -1;}; return 0; }; intmain(void) { test(); return 0; }; Alexander Komratov To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ata1 resetting
On Wed, Jan 22, 2003 at 07:58:31AM +0100, Marc Schneiders wrote: Does someone see some sort of pattern in the times (from /var/log/messages) below? I do but know not what. And what could explain it? Please, note that it occurs on both harddisks and on both controllers. Something cron related? Something swap related, since there is swap space on both disks? I think, however, that swap is hardly used: Device 1K-blocks UsedAvail Capacity Type /dev/ad0s1b524160 16 524144 0%Interleaved /dev/rad2b 5241600 524160 0%Interleaved Total 1048320 16 1048304 0% snip Jan 21 18:49:40 pan /kernel: ad2: WRITE command timeout tag=0 serv=0 - resetting Jan 21 18:49:40 pan /kernel: ata1: resetting devices .. ata1-slave: ATA identify retries exceeded Jan 21 18:49:40 pan /kernel: done Jan 21 19:47:39 pan /kernel: ad2: WRITE command timeout tag=0 serv=0 - resetting Jan 21 19:47:39 pan /kernel: ata1: resetting devices .. ata1-slave: ATA identify retries exceeded Jan 21 19:47:39 pan /kernel: done Jan 21 22:06:39 pan /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting snip Do you have DMA enabled on those drives when possibly they don't support it? What type of ribbon cable are you using - a 40 or 80 conductor? Try setting the sysctl(8) value hw.ata.ata_dmai to 0 and see what results you get. The errors you are getting look similar to ones I've seen where the kernel is trying to use DMA on a drive that doesn't support it, or on a drive that supports DMA that is using an improper 40 conductor cable instead of the correct 80 conductor cable. You can use the atacontrol(8) utilitly to find out more about the capabilities of your devices. For example, `atacontrol cap 0 0` should give you all manner of info about your primary master ATA device. If you want to set the value of hw.ata.ata_dma on boot, you will have to put the command in the file /boot/loader.conf as a line with the text hw.ata.ata_dma=0. It needs to go here rather /etc/sysctl.conf because by the time /etc/sysctl.conf is processes the disk subsystems have already been activated. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg16310/pgp0.pgp Description: PGP signature
I would like to contribute.
Hello, I'm not sure if this is the e-mail address where i'm supposed to write, but maybe you can help anyway. I would like to contribute in any way to the FreeBSD Open-Source Project. I'm a coder from Romania, my english is pretty good, I have some code done and I really like what you guys doing. FreeBSD is the best OS ever. I could give you guys a network card for testing or usage and I also have a educative article on exploiting buffer overflows and frequently encountered programming mistakes that can result to buffer overflows. Hope to hear from you soon. P.S. I would like to know if there's any way I can get an email address @freebsd.org. Thank you in advance. Regards, A. Gabriel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ata1 resetting
On Wed, 22 Jan 2003, at 07:31 [=GMT-0800], Nathan Kinkade wrote: On Wed, Jan 22, 2003 at 07:58:31AM +0100, Marc Schneiders wrote: [...] Jan 21 19:47:39 pan /kernel: ata1: resetting devices .. ata1-slave: ATA identify retries exceeded Jan 21 19:47:39 pan /kernel: done Jan 21 22:06:39 pan /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting snip Do you have DMA enabled on those drives when possibly they don't support it? sysctl reports: hw.ata.ata_dma: 1 What type of ribbon cable are you using - a 40 or 80 conductor? 40, it is a rather old motherboard, as I mentioned. Try setting the sysctl(8) value hw.ata.ata_dmai to 0 and see what results you get. The errors you are getting look similar to ones I've seen where the kernel is trying to use DMA on a drive that doesn't support it, or on a drive that supports DMA that is using an improper 40 conductor cable instead of the correct 80 conductor cable. You can use the atacontrol(8) utilitly to find out more about the capabilities of your devices. For example, `atacontrol cap 0 0` should give you all manner of info about your primary master ATA device. This is what it says: ATA channel 0, Master, device ad0: ATA/ATAPI revision4 device model ST34312A serial number [secret] firmware revision 3.09 cylinders 8354 heads 16 sectors/track 63 lba supported 8420832 sectors lba48 not supported dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes dma queued no no 0/00 SMART yes no microcode download yes yes security yes no power management yes yes advanced power management no no 0/00 automatic acoustic management no no 0/000/00 So it can do DMA, but doesn't use it?? I have another machine with the same hardware, except for video and ethernet cards, that does _not_ have the error messages (and the problem). It also has just one harrdisk, and the problem machine two, on two channels. Can that be it? [...] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I would like to contribute.
In [EMAIL PROTECTED], [EMAIL PROTECTED] typed: I'm not sure if this is the e-mail address where i'm supposed to write, but maybe you can help anyway. I would like to contribute in any way to the FreeBSD Open-Source Project. I'm a coder from Romania, my english is pretty good, I have some code done and I really like what you guys doing. FreeBSD is the best OS ever. I could give you guys a network card for testing or usage and I also have a educative article on exploiting buffer overflows and frequently encountered programming mistakes that can result to buffer overflows. Hope to hear from you soon. See URL: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html for information on how to contribute to FreeBSD. P.S. I would like to know if there's any way I can get an email address @freebsd.org. Thank you in advance. Submit so many PR's with patches that they make you a committer so you can commit them yourself. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mozilla 1.2.1 and java
Hello, I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working (java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same results. I saw that other people were able to upgrade with no problems. What did I do wrong or what do I need to do? This is the text output of when I loaded the 1.2.1: ___ www% mozilla No running window found. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol gdk_input_add] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Audio
I've been using the rsynth package for years now, but after installing 4.6 Rel. The say command no longer works correctly, it doesn't say the last word. I thought I saw a bug report that sounded like this problem was fixed in 4.6.1 Rel. However I just installed 4.7 Rel. and the problems still there. I have an old Sound Blaster and am using the pcm device. Can anyone shad some light on this. Thx in advance... Don 8) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems with Netatalk 1.6
On Wed, 2003-01-22 at 10:44, [EMAIL PROTECTED] wrote: I want to have netatalk 1.6 to run on it. But after ./configure comes only: error Berkeley DB3 not found What can I do? Build Netatalk from ports: # cd /usr/ports/net/netatalk # make install clean Else, you can patch the default distribution up so it can find libdb3 on FreeBSD. Joe Helmut -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem: Galeon2 spawning mutiple times on startup...
On Mon, 2003-01-20 at 17:36, Andy Akins wrote: On Mon, 2003-01-20 at 16:13, Joe Marcus Clarke wrote: Is this a new user using Galeon for the first time, or do you have old 1.2.x prefs? If you type galeon from a shell prompt, do you get the same behavior? Joe Good ideas. This is a brand new setup - the first time Galeon has been used. I tried deleting the .galeon directory, in case something in there was weird - still get the same behavior. It was more interesting when I ran it from terminal than the menu. I apologize for the length of the post, but I figure it all may be relevant: bash-2.05b$ galeon [2] 97843 bash-2.05b$ ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-bookmark.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-separator.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-folder.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-folder-open.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-default.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-default-open.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-history.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-viewsource.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-send-link.png (usually OK) trying to load bookmarks from /home/andy/.galeon/bookmarks.xbel ** Message: Using /usr/X11R6/share/gnome/galeon/default-bookmarks.xbel (usually OK) ** (galeon-bin:97843): WARNING **: I could not load the bookmarks file, will load the default bookmarks. Detected version of bookmarks file: galeon2 ** Message: Using /usr/X11R6/share/gnome/galeon/Insecure.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-bookmark-alias-mark.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/galeon-bookmark-alias-mark.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/smart-bm-fold.png (usually OK) ** Message: Using /usr/X11R6/share/gnome/galeon/smart-bm-unfold.png (usually OK) ** (galeon-bin:97843): CRITICAL **: file mozilla-embed.cpp: line 529 (enum gresult impl_can_go_up(GaleonEmbed *)): assertion `location != NULL' failed ** (galeon-bin:97843): CRITICAL **: file mozilla-embed.cpp: line 529 (enum gresult impl_can_go_up(GaleonEmbed *)): assertion `location != NULL' failed The last line then repeats until I kill the galeon-bin process, at which point all the galeons disapear. Something interesting is going on I agree, but I can't figure out what. Have you tried upgrading to Galeon 1.3.1 and mozilla-gtk2 (1.2.1)? I have that working just fine for me at home now. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Subnetting or Bridging to secure different dapartments on our School LAN?
Martyn Hill wrote: Do I use ifconfig to alias the one internal NIC in the present gateway to create virtual sub-nets? Bill Moran wrote: That would be the method I would suggest, however without more details of your network it's kind of hard to be sure it's the best method. What you could do is: ADSL router | FreeBSD BOX | switch / | \ / | \ /|\ hub1 hub2 hub3 / | \ subnet1 subnet2 subnet3 The switch will keep traffic from subnet1 off subnet2 subnet3 (and vise versa) The freeBSD box has 2 nics, one to the ADSL, the other to the switch. The NIC to the switch has an IP for each subnet and IPFW rules for each IP. If the IPFW rules are identical for each subnet, you'll be able to consolidate them a good bit. Thank you very much for your ideas and time, Bill. You mention the use of hub1, 2 etc. Can I assume that some small switches (we use a few netgear 5 and 8 port switches around the building already) would do the job, given that the other departments amount to a handful of workstations each? Which one is really best depends a lot on details that you haven't yet provided. Like, what traffic _exactly_ do you want to prevent from crossing subnets? SMB browse announcements won't cross subnets, for example (they'll get stopped at the switch) but cross-network browsing is still possible by IP address (or if you use WINS). What this means (from a Windows perspective) is that Windows machines on subnet1 won't see Windows machines on subnet2 in their network neighborhood, but they will be able to access them if the user knows the IP address of the machine he wants to connect to. So it depends on whether you want to offer _real_ security or just obscurity. (this is dependent on using the method I diagramed above, other methods offer different levels of security/obscurity) We do use WINS (via Samba-TNG) for our own curriculum/admin network, but the other departments are supposed to contain themselves to their own workgroups. Obscurity would provide sufficient protection for (from?) most, if not all, of our user base - I'm not aware of any potential hackers amoungst the school population, (if I found one, I'll be proud, as I'm the one who teaches the pupils IT!) My concerns over security are three fold: Access to SMB fileshares and printers (especially from some newly introduced Windows XP clients, which seem intent on discovering everything on the network and adding it to their own browse lists...) The ability of a virus outbreak to spread rampantly throughout the whole site. The limiting of adverse network 'noise' from one department affecting the bandwidth for others, (not really a security issue.) I appreciate the vaugeness of the information, I guess I'm not sure what traffic I _should_ be filtering out. Any ideas? Where should I turn next to penetrate the topic of aliasing using ifconfig? Best regards Martyn Hill ICT Teacher and IT Coordinator St James Independent School London To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: New to FreeBSD
I won't lie to you, it takes time, but once you learn it you will never understand why you use windows. (If it wasn't for my fiance I would use fBSD all the time, but she isn't ready for the jump yet). and you're still gonna marry her?good grief man, get your priorities sorted! ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Error compiling kernel
Hello, I just installed FreeBSD 4.7 yesterday and tried to install a new kernel following the instructions from the handbook. Unfortunately I ran into the following problem when executing 'make buildkernel KERNCONF=MYKERNEL': === crypto @ - /usr/src/sys machine - /usr/src/sys/i386/include make: don't know how to make bf_enc.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/FISHBOWL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Eventually I tried compiling GENERIC instead, which led to the same result. A friend of mine then suggested trying make buildworld and installworld, but this didn't change anything. Hope someone can help. Bye, Ernest To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem: Galeon2 spawning mutiple times on startup...
On Wed, 2003-01-22 at 11:18, Joe Marcus Clarke wrote: Something interesting is going on I agree, but I can't figure out what. Have you tried upgrading to Galeon 1.3.1 and mozilla-gtk2 (1.2.1)? I have that working just fine for me at home now. Joe I'll try de/reinstalling both of those, and make sure they are the right versions Andy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
PPP strangeness - hosed my /etc/hosts file
Hey all. I've been with Verizon DSL for 3 or 4 months now, and just when I think I'm getting things right, I start seeing some really screwy behavior. ifconfig shows the following for the PPP interface (tun0) tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet6 fe80::2a0:c9ff:fe74:12a3%tun0 prefixlen 64 scopeid 0x8 inet 68.160.2.89 -- 10.9.64.1 netmask 0xff00 inet 68.160.25.67 -- 10.9.76.1 netmask 0xff00 Opened by PID 67 The weird thing is that the first IP is not valid. I'm sure this is not supposed to be the case, but I don't know how I should fix it. My /etc/hosts and httpd.conf files were hosed because of it, so I'm going to have to figure out how to spot this problem in the scripts, and at least warn about it, if not fix it on the fly. My domain is served via zoneedit.com, and when a lookup is done of the domain, it shows the latter IP. Neither IP is pingable, but the machine is accessible via the IP in the zoneedit servers, and not the other. Is it normal for this to happen? There was a power cut last week, and I had to run some manual disk checks before everything came up again. Is there an easy way to simply release everything and restart ppp, regrab the IP, and with any luck, restrict it to a single IP? Right now, I'm grabbing the old and new IP addresses as follows: OLD_IPADDRESS=`cat /var/db/ppp.ip` if [ -n ${OLD_IPADDRESS} ]; then echo Old IP Address: ${OLD_IPADDRESS} fi NEW_IPADDRESS=`/sbin/ifconfig tun0 | grep netmask | awk '{print $2}'` if [ -n ${NEW_IPADDRESS} ]; then echo New IP Address: ${NEW_IPADDRESS} echo Saving New Address echo ${NEW_IPADDRESS} /var/db/ppp.ip fi if [ ${OLD_IPADDRESS} != ${NEW_IPADDRESS} ]; then . . . /var/db/ppp.ip had both IPs shown in the ifconfig output shown above, so I'm probably going to have to change that NEW_IPADDRESS= line to ensure I only get the last IP. But can I be sure the last one is always the right one? TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Actual war is a very messy business. Very, very messy business. -- Kirk, A Taste of Armageddon, stardate 3193.0 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Interesting staff
There is a unique opportunity to earn money up to one million dollars. It is online race championship where everyone can participate. All you have to do is to register at www.hop-go.com or www.hop-go.com, using master's login floydes.If you have any questions, do not hesitate write me an email on adress: [EMAIL PROTECTED] With Best Wishes, Floydes. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: New to FreeBSD
On Wed, 2003-01-22 at 12:25, Mark Rowlands wrote: I won't lie to you, it takes time, but once you learn it you will never understand why you use windows. (If it wasn't for my fiance I would use fBSD all the time, but she isn't ready for the jump yet). and you're still gonna marry her?good grief man, get your priorities sorted! ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message I know, I know...you are not the first to say that. :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: questions about static ipfw rules
On Wed, 22 Jan 2003, Daniel Bye wrote: On Wed, Jan 22, 2003 at 03:18:33PM +, Daniel Bye wrote: On Wed, Jan 22, 2003 at 09:45:09AM -0500, Stephen D. Kingrea wrote: running 4.7 with firewall, natd enabled kernel. i wish to create firewall rules outside of the rc.firewall script that remain static across reboots. to that end, i created a set (rc.firewall.rules), pointing rc.conf to that set: firewall_enable=YES firewall_type=/etc/rc.firewall.rules You should change firewall_type to firewall_script. You should then find all works as you want. Well, almost... If you do it this way, you need to make sure the script file is executable and makes sense as a shell script. I use something like #!/bin/sh IPFW=/sbin/ipfw ${IPFW} -f flush ${IPFW} add 100 allow ip from any to any via lo0 ... etc. It works well for me. Dan yes, that worked quite well. thank you for that nugget! i should say that joebs' suggestions concerning ipfilter are worthy of investigation. i really just needed this to be able to ftp files from inside my lan without having to retype rules at every boot. thanks! stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Subnetting or Bridging to secure different dapartments on ourSchool LAN?
Martyn Hill wrote: Martyn Hill wrote: Do I use ifconfig to alias the one internal NIC in the present gateway to create virtual sub-nets? Bill Moran wrote: That would be the method I would suggest, however without more details of your network it's kind of hard to be sure it's the best method. What you could do is: ADSL router | FreeBSD BOX | switch / | \ / | \ /|\ hub1 hub2 hub3 / | \ subnet1 subnet2 subnet3 The switch will keep traffic from subnet1 off subnet2 subnet3 (and vise versa) The freeBSD box has 2 nics, one to the ADSL, the other to the switch. The NIC to the switch has an IP for each subnet and IPFW rules for each IP. If the IPFW rules are identical for each subnet, you'll be able to consolidate them a good bit. Thank you very much for your ideas and time, Bill. You mention the use of hub1, 2 etc. Can I assume that some small switches (we use a few netgear 5 and 8 port switches around the building already) would do the job, given that the other departments amount to a handful of workstations each? Sure. Using hubs is (dare I say it) the canonical way. But with switch prices as cheap as they are, there really isn't any reason to not use switches. Which one is really best depends a lot on details that you haven't yet provided. Like, what traffic _exactly_ do you want to prevent from crossing subnets? SMB browse announcements won't cross subnets, for example (they'll get stopped at the switch) but cross-network browsing is still possible by IP address (or if you use WINS). What this means (from a Windows perspective) is that Windows machines on subnet1 won't see Windows machines on subnet2 in their network neighborhood, but they will be able to access them if the user knows the IP address of the machine he wants to connect to. So it depends on whether you want to offer _real_ security or just obscurity. (this is dependent on using the method I diagramed above, other methods offer different levels of security/obscurity) We do use WINS (via Samba-TNG) for our own curriculum/admin network, but the other departments are supposed to contain themselves to their own workgroups. The WINS configuration will determine who can see what then. You can set up WINS servers that don't know anything about one another, and they will not cross-propogate browse lists. Or you can coordinate so they all see all computers, it's pretty much up to you. Obscurity would provide sufficient protection for (from?) most, if not all, of our user base - I'm not aware of any potential hackers amoungst the school population, (if I found one, I'll be proud, as I'm the one who teaches the pupils IT!) I like that: Protection from user base I'll start saying that and see if people pick up on it! My concerns over security are three fold: Access to SMB fileshares and printers (especially from some newly introduced Windows XP clients, which seem intent on discovering everything on the network and adding it to their own browse lists...) Sure, they're trying to automagically do everything for you. You should be able to use WINS/DNS to control what they do and don't see. Keep in mind that WinXP is migrating away from WINS to DNS, so you may have to build your own DNS servers and configure them carefully to keep things sane. So far, however, I've still been able to control things with WINS. The ability of a virus outbreak to spread rampantly throughout the whole site. Well, I doubt such a configuration will give you too much power to stop that, but at least they won't be able to arbitrarily connect to shares on another subnet to propogate. The limiting of adverse network 'noise' from one department affecting the bandwidth for others, (not really a security issue.) The switch will handle most of that issue. and if you wire things up all with switches, it will handle it even better. I appreciate the vaugeness of the information, I guess I'm not sure what traffic I _should_ be filtering out. Any ideas? It seems to be different for every network. Broadcast traffic is one of the most annoying, and a good switch won't pass it from one subnet to another (and the better ones are configurable as to whether they pass it or not) Before you trust in that statement, however, verify the behaviour of the specific switch that you're using. If you choose the solution where you put a different NIC in the FreeBSD box for each subnet, you'll definately be blocking broadcast traffic, and you'll have the option to configure IPFW to block anything else you want. The downfall is: depending on how many subnets you have, PC hardware isn't really designed to have a lot of NICs plugged in, performance may suffer. If you want to have everything controlled through FreeBSD, you may want to have more than one firewall box. At least your ADSL router has
RE: PPP strangeness - hosed my /etc/hosts file
Add this to ppp.conf 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Louis LeBlanc Sent: Wednesday, January 22, 2003 12:49 PM To: FreeBSD Questions Subject: PPP strangeness - hosed my /etc/hosts file Hey all. I've been with Verizon DSL for 3 or 4 months now, and just when I think I'm getting things right, I start seeing some really screwy behavior. ifconfig shows the following for the PPP interface (tun0) tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet6 fe80::2a0:c9ff:fe74:12a3%tun0 prefixlen 64 scopeid 0x8 inet 68.160.2.89 -- 10.9.64.1 netmask 0xff00 inet 68.160.25.67 -- 10.9.76.1 netmask 0xff00 Opened by PID 67 The weird thing is that the first IP is not valid. I'm sure this is not supposed to be the case, but I don't know how I should fix it. My /etc/hosts and httpd.conf files were hosed because of it, so I'm going to have to figure out how to spot this problem in the scripts, and at least warn about it, if not fix it on the fly. My domain is served via zoneedit.com, and when a lookup is done of the domain, it shows the latter IP. Neither IP is pingable, but the machine is accessible via the IP in the zoneedit servers, and not the other. Is it normal for this to happen? There was a power cut last week, and I had to run some manual disk checks before everything came up again. Is there an easy way to simply release everything and restart ppp, regrab the IP, and with any luck, restrict it to a single IP? Right now, I'm grabbing the old and new IP addresses as follows: OLD_IPADDRESS=`cat /var/db/ppp.ip` if [ -n ${OLD_IPADDRESS} ]; then echo Old IP Address: ${OLD_IPADDRESS} fi NEW_IPADDRESS=`/sbin/ifconfig tun0 | grep netmask | awk '{print $2}'` if [ -n ${NEW_IPADDRESS} ]; then echo New IP Address: ${NEW_IPADDRESS} echo Saving New Address echo ${NEW_IPADDRESS} /var/db/ppp.ip fi if [ ${OLD_IPADDRESS} != ${NEW_IPADDRESS} ]; then . . . /var/db/ppp.ip had both IPs shown in the ifconfig output shown above, so I'm probably going to have to change that NEW_IPADDRESS= line to ensure I only get the last IP. But can I be sure the last one is always the right one? TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Actual war is a very messy business. Very, very messy business. -- Kirk, A Taste of Armageddon, stardate 3193.0 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cross-compiling - MIPS
hi! Is it possible to build a crosscompiler to work for mips on freebsd? (not mipsel) if yes, how? any howto`s? -- Med Vennlig Hilsen / Best regards Christer Gundersen / dizzy tun3Z http://dtz.cjb.net - http://carebears.mine.nu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
man -M
I have just installed mySQL on Darwin and I can't display the mySQl man pages. I have tried setting MANPATH, changing man.config and using man -M /usr/local/mysql/man mysql nothing seems to work. Any suggestions? Thanks Ken To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple ipfw question
Greetings, I am attempting to build a dual-homed firewall using FreeBSD 4.7 RELEASE. The PC is presently connected to a corporate LAN with DHCP and DNS servers and a broadband connection to the Internet. The outside interface (rl0) is configured as follows: IP address: a.b.148.62 (dynamically assigned) Subnet: 255.255.248.0 Gateway: a.b.144.254 DNS: a.b.144.1 The inside interface (rl1) is configured as follows: IP address: 192.168.1.1 Subnet: 255.255.255.0 My private network consists of one workstation which is set up as follows: IP address: 192.168.1.2 Subnet: 255.255.255.0 Gateway: 192.168.168.1 DNS: a.b.144.1 When I use the open ruleset in /etc/rc.firewall, the workstation on my private network can get through the firewall to the LAN and the Internet. When I switch to the simple ruleset, the firewall stops forwarding packets. From the console, I can ping the outside and inside interfaces, but nothing else. Everything looks normal in dmesg. Additional info upon request! Did you tweak the /etc/rc.firewall script to insert your IP address ranges into it? (look for the simple section of the script and tweak the iif, iip, oif, oip, etc ... values) If that doesn't help, try posting the output of 'ipfw show' to the list. It'll make it a lot easier for folks to diagnose. -- Bill Moran Potential Technologies http://www.potentialtech.com Hope this helps: /etc/rc.firewall: [simple section] oif=rl0 onet=a.b.144.0 omask=255.255.248.0 oip=a.b.148.62 iif=rl1 inet=192.168.1.0 imask=255.255.255.0 iip=192.168.1.1 /etc/rc.conf: gateway_enable=YES hostname=(hostname.domain) ifconfig_rl0=DHCP kern_securelevel=2 kern_securelevel_enable=YES moused_enable=YES nfs_server_enable=NO saver=green sendmail_enable=NO sshd_enable=NO ifconfig_rl1=inet 192.168.1.1 netmask 255.255.255.0 firewall_enable=YES firewall_type=simple natd_enable=YES natd_interface=rl0 defaultrouter=a.b.144.254 natd_flags=-dynamic Compiled kernel with these options: options IPDIVERT options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 ipfw show: 00100 00 allow ip from any to any via 1o0 00200 00 deny ip from any to 127.0.0.0/0 00300 00 deny ip from 127.0.0.0/8 to any 00400 00 deny ip from 192.168.1.0/24 to any in recv rl0 00500 00 deny ip from a.b.144.0/21 to any in recv rl1 00600 00 deny ip from any to 10.0.0.0/8 via rl0 00700 00 deny ip from any to 172.16.0.0/12 via rl0 00800 00 deny ip from any to 192.168.0.0/16 via rl0 00900 00 deny ip from any to 0.0.0.0/8 via rl0 01000 00 deny ip from any to 169.254.0.0/16 via rl0 01100 00 deny ip from any to 192.0.2.0/24 via rl0 01200 00 deny ip from any to 224.0.0.0/4 via rl0 01300 9 773 deny ip from any to 240.0.0.0/24 via rl0 01400 73 9535 divert 8668 ip from any to any via rl0 01500 00 deny ip from 10.0.0.0/8 to any via rl0 01600 00 deny ip from 172.16.0.0/12 to any via rl0 01700 00 deny ip from 192.168.0.0/16 to any via rl0 01800 00 deny ip 0.0.0.0/8 to any via rl0 01900 00 169.254.0.0/16 to any via rl0 02000 00 deny ip from 192.0.2.0/24 to any via rl0 02100 00 deny ip from 224.0.0.0/4 to any via rl0 02200 00 deny ip from 240.0.0.0/4 to any via rl0 02300 00 allow tcp form any to any established 02400 00 allow ip from any to any frag 02500 00 allow tcp from any to a.b.148.62 25 setup 02600 00 allow tcp from any to a.b.148.62 53 setup 02700 00 allow udp from any to a.b.148.62 53 02800 00 allow udp from a.b.148.62 53 to any 02900 00 allow tcp from any to a.b.148.62 80 setup 03000 00 deny log logamount 10 tcp from any to any in recv rl0 setup 03100 00 allow tcp from any to any setup 03200 26 1912 allow udp from a.b.148.62 to any 53 keep-state 03300 00 allow udp from a.b.148.62 to any 123 keep-state 65535 58 9215 deny ip from any to any The counts for rules 1300, 1400, 3200 and 65535 keep incrementing. All other rules are goose eggs. BTW, I run 'ifconfig rl0' occasionally to make sure my dynamic IP address has not changed. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man -M
On Thursday, January 23, 2003, at 06:03 AM, Kenneth Tucker wrote: I have just installed mySQL on Darwin and I can't display the mySQl man pages. I have tried setting MANPATH, changing man.config and using man -M /usr/local/mysql/man mysql nothing seems to work. Any suggestions? Thanks Ken man -m /Library/MySQL/man mysql works here with my 10.1.5 Cheers...John To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: New to FreeBSD
At 2003-01-22T18:23:43Z, Asenchi [EMAIL PROTECTED] writes: I know, I know...you are not the first to say that. :) Let me be #3, then. I set my wife on a FreeBSD workstation back before the upgrade from Fiance 1.0. Get with the program, man! :) -- Kirk Strauser In Googlis non est, ergo non est. msg16332/pgp0.pgp Description: PGP signature
Re: man -M
I neglected to mention that I installed mysql in /usr/local/mysql --- John Vender [EMAIL PROTECTED] wrote: On Thursday, January 23, 2003, at 06:03 AM, Kenneth Tucker wrote: I have just installed mySQL on Darwin and I can't display the mySQl man pages. I have tried setting MANPATH, changing man.config and using man -M /usr/local/mysql/man mysql nothing seems to work. Any suggestions? Thanks Ken man -m /Library/MySQL/man mysql works here with my 10.1.5 Cheers...John To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
portsman - need feedback and testers
Hi all, a while ago I asked on this list, if someone knows an curses based frontend for the FreeBSD ports collection, which behaves like a package manager (e.g. dselect under Debian), but I got only responds, that this does not yet exist. So I invested much time in the last 7 weeks to develop such a tool. Its name is portsman (= ports manager) und you'll find it under: http://portsman.berlios.de (homepage) http://developer.berlios.de/projects/portsman/ (developer page) Today I released the first rc of upcoming portsman 0.2, you can download the package under: http://download.berlios.de/portsman/portsman-0.2-rc1.tar.gz Currently I have not much feedback about it, so it'd be great if you could try it and give me feedback. :-) If you like you also can checkout the latest CVS version as described on portsman's homepage. Thanks, Anselm -- Anselm R. Garbe () ascii ribbon campaign - against html mail www.ebrag.de/\- against microsoft attachments To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
KVM (keyboard-video-mouse) Switch
Greetings, I have an electronic KVM that I want to use to switch between my crappy system, and my FreeBSD system. The keyboard and mouse work fine on my crappy system, but, on the FreeBSD system, they work fine on startup, but after switching back and forth only once, the mouse (LED mouse) starts flashing, and the keyboard only works intermittently. After reading a bit on the newsgroups/mailing lists, I added flags 0x100 to the device psm0 line in the kernel, and recompiled it, but that did not fix the problem. Then, I added the optional 9V adapter to the KVM, but that also did not fix the problem. Is there something I am missing, or does FreeBSD just not work with a KVM? I'm using FreeBSD 4.7-Release-p3. The two different KVMs (both create the same problem) are a Belkin OmniView SE, and a StarTech StarView. Regards, Justin P. Michel |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- http://www.jcontinuum.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: KVM (keyboard-video-mouse) Switch
I have an electronic KVM that I want to use to switch between my crappy system, and my FreeBSD system. The keyboard and mouse work fine on my crappy system, but, on the FreeBSD system, they work fine on startup, but after switching back and forth only once, the mouse (LED mouse) starts flashing, and the keyboard only works intermittently. After reading a bit on the newsgroups/mailing lists, I added flags 0x100 to the device psm0 line in the kernel, and recompiled it, but that did not fix the problem. Then, I added the optional 9V adapter to the KVM, but that also did not fix the problem. Is there something I am missing, or does FreeBSD just not work with a KVM? I'm using FreeBSD 4.7-Release-p3. The two different KVMs (both create the same problem) are a Belkin OmniView SE, and a StarTech StarView. Regards, Justin P. Michel Does your KVM have the option to reset the mouse keyboard? I use Cybex KVM's and the problem you're describing is normally fixed by performing a kbd/mouse reset via the Cybex's on screen menu. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: KVM (keyboard-video-mouse) Switch
At 2003-01-22T20:21:41Z, Justin P. Michel [EMAIL PROTECTED] writes: I'm using FreeBSD 4.7-Release-p3. The two different KVMs (both create the same problem) are a Belkin OmniView SE, and a StarTech StarView. I'm using an OmniView SE between several Unix machines without difficulty. Maybe yours has a flaky connection? -- Kirk Strauser In Googlis non est, ergo non est. msg16337/pgp0.pgp Description: PGP signature
syslogd stops logging
I have observed this behaviour today and yesterday. For some reason, syslogd stops logging. Here's what I'm seeing: [dan@undef:~/tmp] $ tail /var/log/messages Jan 22 00:00:00 undef newsyslog[50185]: logfile turned over [dan@undef:~/tmp] $ logger hi [dan@undef:~/tmp] $ tail /var/log/messages Jan 22 00:00:00 undef newsyslog[50185]: logfile turned over [dan@undef:~/tmp] $ ps auwx | grep syslogd root 4837 0.0 0.0 9400 ?? IWs - 0:00.00 /usr/sbin/syslogd -s Yesteryday, killing and restarting syslogd solved the issue. But I'd rather investigate this before I do that today. Ideas? thanks -- Dan Langille : http://www.langille.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote: Hello, I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working (java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same results. I saw that other people were able to upgrade with no problems. What did I do wrong or what do I need to do? This is the text output of when I loaded the 1.2.1: ___ www% mozilla No running window found. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol gdk_input_add] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so] just a guess.. /xfer/ports/www/mozilla cat pkg-message ### A symlink has been created for the Java plugin. However, in order for Java to function, you must first install the java/jdk13 port. If you do not do this, you will see the following error when starting Mozilla: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so] If you do not want Java support, you can safely ignore this message. ### -- Dennis Moore jesus sewed my pants Pro Bono Devil's Advocate it's a love affair archon@EFnet irc mainly jesus http://forbidden.dough.net/ and my pants To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
5.0-RELEASE and mount_msdos
Not a critical question, but ... Working on my spiffy test machine, I noticed that 5.0-RELEASE does not have a mount_msdos command. It's no biggie, I just used 'mount -t msdos' and got what I wanted, but I was wondering why this was missing? Is there a reason why it was removed, or is it some oversight? I doubt it's an oversight, as the man page is missing as well. Mostly curious, but I thought I'd point it out in case it was a mistake. -- 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
Re: 5.0-RELEASE and mount_msdos
In the last episode (Jan 22), Bill Moran said: Not a critical question, but ... Working on my spiffy test machine, I noticed that 5.0-RELEASE does not have a mount_msdos command. It's no biggie, I just used 'mount -t msdos' and got what I wanted, but I was wondering why this was missing? Is there a reason why it was removed, or is it some oversight? I doubt it's an oversight, as the man page is missing as well. Mostly curious, but I thought I'd point it out in case it was a mistake. It's been mount_msdosfs since: /usr/src/sbin/mount_msdosfs/Makefilerevision 1.18 date: 2001/06/01 10:57:26; author: ru; state: Exp; lines: +4 -4 - VFS_SET(msdos) - VFS_SET(msdosfs) - msdos.ko - msdosfs.ko - mount_msdos(8) - mount_msdosfs(8) - msdos - msdosfs compatibility glue in mount(8) -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0-RELEASE and mount_msdos
Dan Nelson wrote: In the last episode (Jan 22), Bill Moran said: Not a critical question, but ... Working on my spiffy test machine, I noticed that 5.0-RELEASE does not have a mount_msdos command. It's no biggie, I just used 'mount -t msdos' and got what I wanted, but I was wondering why this was missing? Is there a reason why it was removed, or is it some oversight? I doubt it's an oversight, as the man page is missing as well. Mostly curious, but I thought I'd point it out in case it was a mistake. It's been mount_msdosfs since: /usr/src/sbin/mount_msdosfs/Makefile revision 1.18 date: 2001/06/01 10:57:26; author: ru; state: Exp; lines: +4 -4 I see. Although I don't understand why it still isn't called mount_fat, but that's just me ;) Thanks for the reply. -- 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
Building Linux binaries under FreeBSD/Linux layer
I know this is probably going to be an odd question, but is there a way to create true linux shell within FreeBSD, capable of running linux gcc and creating a linux binary? I want to play with Midori Linux, which involves compiling a lot of Linux source, for Linux. Dual booting is out of the question (my FreeBSD box runs the home automation system). I suspect it *could* be done with a carefully configured shell, and a bunch of Linux RPM's installed to support gcc and the assorted libraries. Is this possible, and if so, has pulled a stunt like this? If not, how well does VMware run under FreeBSD, and can you ssh into the virtual machine once it's up? Thanks, Seth Henry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mobo has six USB ports but FreeBSD seams to only work with two, help please
Hi, I have an Intel D815EEA2 mobo with six integrated USB ports. FreeBSD seams to only work with two of them, those besides the integrated NIC connector. I have done /dev/MAKEDEV usb2 but when I do /usr/sbin/usbd -f /dev/usb2 I get a usbd: Could not open /dev/usb2, Device not configured I'm guessing that I need to config(8) the kernel for it to work with the rest of the USB ports. In fact the usb(4) page mentions it but does not explains how. I didn't find a hint on how to do this neither in LINT nor in config(8). Any help would be appreciated. My dmesg is this: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE #0: Wed Jan 8 16:54:48 PST 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERICplusAGP Timecounter i8254 frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1394.83-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b1 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA, CM OV,PAT,PSE36,MMX,FXSR,SSE real memory = 132907008 (129792K bytes) avail memory = 124125184 (121216K bytes) Preloaded elf kernel kernel at 0xc0516000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00f2cd0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 agp0: Intel 82815 (i815 GMCH) SVGA controller mem 0xffa8-0xffaf,0xf800 -0xfbff irq 11 at device 2.0 on pci0 pcib1: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0 pci1: PCI bus on pcib1 fxp0: Intel Pro/100 Ethernet port 0xde80-0xdebf mem 0xff8fe000-0xff8fefff irq 11 at device 8.0 on pci1 fxp0: Ethernet address 00:03:47:e8:e8:58 inphy0: i82562ET 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Intel Pro 10/100B/100+ Ethernet port 0xdf00-0xdf3f mem 0xff70-0xff7f ,0xff8ff000-0xff8f irq 11 at device 9.0 on pci1 fxp1: Ethernet address 00:02:b3:3f:e4:e0 inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: Intel 82801BA/BAM (ICH2) PCI to LPC bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH2 ATA100 controller port 0xffa0-0xffaf at device 31.1 on pci 0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xef40-0xef5f irq 11 at device 31.2 on pci0 usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: unknown card (vendor=0x8086, dev=0x2443) at 31.3 irq 9 uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xef80-0xef9f irq 10 at device 31.4 on pci0 usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: Standard Microsystems product 0x0140, class 9/0, rev 1.10/0.00, addr 2 device_probe_and_attach: uhub2 attach returned 6 uhub2: Standard Microsystems product 0x0140, class 9/0, rev 1.10/0.00, addr 2 device_probe_and_attach: uhub2 attach returned 6 pci0: unknown card (vendor=0x8086, dev=0x2445) at 31.5 irq 9 orm0: Option ROMs at iomem 0xc-0xcbfff,0xcc000-0xccfff,0xcd000-0xce7ff,0xc e800-0xcf7ff on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 ad0: 39266MB IC35L040AVER07-0 [79780/16/63] at ata0-master UDMA100 acd0: CDROM GCR-8521B at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a ugen0: WINBOND W9967CF, rev 1.10/1.10, addr 3 -- = = Oscar-Ivan Lepe-Aldama = http://people.ac.upc.es/oscar === --- -- = = Oscar-Ivan Lepe-Aldama = http://people.ac.upc.es/oscar === To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ata1 resetting
On Wed, Jan 22, 2003 at 04:49:40PM +0100, Marc Schneiders wrote: On Wed, 22 Jan 2003, at 07:31 [=GMT-0800], Nathan Kinkade wrote: On Wed, Jan 22, 2003 at 07:58:31AM +0100, Marc Schneiders wrote: [...] Jan 21 19:47:39 pan /kernel: ata1: resetting devices .. ata1-slave: ATA identify retries exceeded Jan 21 19:47:39 pan /kernel: done Jan 21 22:06:39 pan /kernel: ad0: WRITE command timeout tag=0 serv=0 - resetting snip Do you have DMA enabled on those drives when possibly they don't support it? sysctl reports: hw.ata.ata_dma: 1 What type of ribbon cable are you using - a 40 or 80 conductor? 40, it is a rather old motherboard, as I mentioned. Try setting the sysctl(8) value hw.ata.ata_dmai to 0 and see what results you get. The errors you are getting look similar to ones I've seen where the kernel is trying to use DMA on a drive that doesn't support it, or on a drive that supports DMA that is using an improper 40 conductor cable instead of the correct 80 conductor cable. You can use the atacontrol(8) utilitly to find out more about the capabilities of your devices. For example, `atacontrol cap 0 0` should give you all manner of info about your primary master ATA device. This is what it says: ATA channel 0, Master, device ad0: ATA/ATAPI revision4 device model ST34312A serial number [secret] firmware revision 3.09 cylinders 8354 heads 16 sectors/track 63 lba supported 8420832 sectors lba48 not supported dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes dma queued no no 0/00 SMART yes no microcode download yes yes security yes no power management yes yes advanced power management no no 0/00 automatic acoustic management no no 0/000/00 So it can do DMA, but doesn't use it?? I have another machine with the same hardware, except for video and ethernet cards, that does _not_ have the error messages (and the problem). It also has just one harrdisk, and the problem machine two, on two channels. Can that be it? What does the command `grep ad[0-9] /var/run/dmesg.boot` return. Specifically, look at the end of the line which defines each of your disks and you should see how the device was detected (PIO, UDMA, etc). Regarding the ribbon cable, the 80 conductor cable is really on required for UDMA mode 3 and above, although maybe recommended for all UDMA modes. In any case, as far as I know, FreeBSD should auto-detect the presence, or absence, of an 80 conductor cable and set dma modes accordingly. I'm not sure that dma/udma is causing your issues at all, but it certainly couldn't hurt to turn off dma and see if the problems go away. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg16345/pgp0.pgp Description: PGP signature
Reboot...
Dear Sir, My computer came with win98. I intalled FreeBSD on the whole hard disk. I accidentally deleted my partition table because I want to re-install FreeBSD and with win98. I did sucessfully install FreeBSD in the second part of the Hard Disk, yet when I tried to install win98, My computer did not allow me to reboot with win98 startup disk? Can you help me out? Sincerely, Wuzhen Zhang __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Reboot...
On Wed, 22 Jan 2003, Wuzhen Zhang wrote: Subject: Reboot... Dear Sir, My computer came with win98. I intalled FreeBSD on the whole hard disk. I accidentally deleted my partition table because I want to re-install FreeBSD and with win98. I did sucessfully install FreeBSD in the second part of the Hard Disk, yet when I tried to install win98, My computer did not allow me to reboot with win98 startup disk? Can you help me out? Sincerely, Wuzhen Zhang Exactly what error are you getting while trying to boot from the Win98 disk? # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 22 Jan 2003, Aqua Daemon wrote: Hello, I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working (java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same results. I saw that other people were able to upgrade with no problems. What did I do wrong or what do I need to do? This is the text output of when I loaded the 1.2.1: ___ www% mozilla No running window found. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol gdk_input_add] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so] Well, you're doing better than I am. I can't get past No running window found. And that error message is literal, I can no longer get Mozilla to come up at all :-( That was from a cvsup this morning on a 4.7-RELEASE. Dru To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: PPP strangeness - hosed my /etc/hosts file
Thanks a lot. I found these in the manpage, and they look right. Is there a way to restart the ppp connection? I vaguely remember reading this somewhere, but I can't remember the details on what the correct steps are. Thanks again Lou On 01/22/03 01:48 PM, JoeB sat at the `puter and typed: Add this to ppp.conf 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Louis LeBlanc Sent: Wednesday, January 22, 2003 12:49 PM To: FreeBSD Questions Subject: PPP strangeness - hosed my /etc/hosts file Hey all. I've been with Verizon DSL for 3 or 4 months now, and just when I think I'm getting things right, I start seeing some really screwy behavior. ifconfig shows the following for the PPP interface (tun0) tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet6 fe80::2a0:c9ff:fe74:12a3%tun0 prefixlen 64 scopeid 0x8 inet 68.160.2.89 -- 10.9.64.1 netmask 0xff00 inet 68.160.25.67 -- 10.9.76.1 netmask 0xff00 Opened by PID 67 The weird thing is that the first IP is not valid. I'm sure this is not supposed to be the case, but I don't know how I should fix it. My /etc/hosts and httpd.conf files were hosed because of it, so I'm going to have to figure out how to spot this problem in the scripts, and at least warn about it, if not fix it on the fly. My domain is served via zoneedit.com, and when a lookup is done of the domain, it shows the latter IP. Neither IP is pingable, but the machine is accessible via the IP in the zoneedit servers, and not the other. Is it normal for this to happen? There was a power cut last week, and I had to run some manual disk checks before everything came up again. Is there an easy way to simply release everything and restart ppp, regrab the IP, and with any luck, restrict it to a single IP? Right now, I'm grabbing the old and new IP addresses as follows: OLD_IPADDRESS=`cat /var/db/ppp.ip` if [ -n ${OLD_IPADDRESS} ]; then echo Old IP Address: ${OLD_IPADDRESS} fi NEW_IPADDRESS=`/sbin/ifconfig tun0 | grep netmask | awk '{print $2}'` if [ -n ${NEW_IPADDRESS} ]; then echo New IP Address: ${NEW_IPADDRESS} echo Saving New Address echo ${NEW_IPADDRESS} /var/db/ppp.ip fi if [ ${OLD_IPADDRESS} != ${NEW_IPADDRESS} ]; then . . . /var/db/ppp.ip had both IPs shown in the ifconfig output shown above, so I'm probably going to have to change that NEW_IPADDRESS= line to ensure I only get the last IP. But can I be sure the last one is always the right one? TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Actual war is a very messy business. Very, very messy business. -- Kirk, A Taste of Armageddon, stardate 3193.0 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ A banker is a fellow who lends you his umbrella when the sun is shining and wants it back the minute it begins to rain. -- Mark Twain To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: New to FreeBSD
Well when the source becomes available on March 1st for Wife 1.0 I will cvsup to the latest release... :) On Wed, 2003-01-22 at 14:29, Kirk Strauser wrote: At 2003-01-22T18:23:43Z, Asenchi [EMAIL PROTECTED] writes: I know, I know...you are not the first to say that. :) Let me be #3, then. I set my wife on a FreeBSD workstation back before the upgrade from Fiance 1.0. Get with the program, man! :) -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: KVM (keyboard-video-mouse) Switch
On Wed, Jan 22, 2003 at 03:21:41PM -0500, Justin P. Michel wrote: Greetings, I have an electronic KVM that I want to use to switch between my crappy system, and my FreeBSD system. The keyboard and mouse work fine on my crappy system, but, on the FreeBSD system, they work fine on startup, but after switching back and forth only once, the mouse (LED mouse) starts I'm using a linksys kvm switch to go between linux (rh 7.3), freebsd (4.6), and windows2000. The only problem I have is with win2000. The switch must be set to that machine during windows startup or windows doesn't think there's a mouse.. -- David Bear College of Public Programs/ASU Mail Code 0803 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: KVM (keyboard-video-mouse) Switch
David Bear wrote: On Wed, Jan 22, 2003 at 03:21:41PM -0500, Justin P. Michel wrote: Greetings, I have an electronic KVM that I want to use to switch between my crappy system, and my FreeBSD system. The keyboard and mouse work fine on my crappy system, but, on the FreeBSD system, they work fine on startup, but after switching back and forth only once, the mouse (LED mouse) starts I'm using a linksys kvm switch to go between linux (rh 7.3), freebsd (4.6), and windows2000. The only problem I have is with win2000. The switch must be set to that machine during windows startup or windows doesn't think there's a mouse.. I acutally had a similar problem between two FreeBSD systems. I have a tendency to believe that whether or not a KVM works reliably is more dependent on the PC hardware than the OS. In our case, the workaround was to ensure that the KVM was set to the system that was actively being [re]booted. As long as that's done, we've had no problems. -- 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
Re: FreeBSD 4.7 - 5.0 (Removing Perl/UUCP safly?)
On Tue, 21 Jan 2003 21:34:08 -0800, Elden Fenison wrote: * Doug Reynolds [01/21/2003 22:22]: according to /usr/src/UPDATING, multiuser updating from 4.7 to 5.0 is slim to impossible. Sorry, I should have clarified... it was the first part of his question that interested me... and that isn't answered in UPDATING... about getting rid of the old perl/uucp stuff. AFAIK, when i did it, I had to install perl from the ports again. it seems like the only things it left from the old perl was: /usr/libdata/perl/5.00503/ this, at least, after i installed the new perl --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Error compiling kernel
On Wed, 22 Jan 2003 18:27:02 +0100, Ernest Hammerschmidt wrote: Hello, I just installed FreeBSD 4.7 yesterday and tried to install a new kernel following the instructions from the handbook. Unfortunately I ran into the following problem when executing 'make buildkernel KERNCONF=MYKERNEL': === crypto @ - /usr/src/sys machine - /usr/src/sys/i386/include make: don't know how to make bf_enc.c. Stop *** Error code 2 if you haven't used buildworld, you have to cd /sys/i386/conf config YOURKERNELNAME cd ../compile/YOURKERNLNAME make depend make and then make install (been a long time since i've done it that way, hopefully I didn't forget anything) --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: PPP strangeness - hosed my /etc/hosts file
On Wed, 22 Jan 2003 12:49:12 -0500, Louis LeBlanc wrote: Hey all. I've been with Verizon DSL for 3 or 4 months now, and just when I think I'm getting things right, I start seeing some really screwy behavior. ifconfig shows the following for the PPP interface (tun0) tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet6 fe80::2a0:c9ff:fe74:12a3%tun0 prefixlen 64 scopeid 0x8 inet 68.160.2.89 -- 10.9.64.1 netmask 0xff00 inet 68.160.25.67 -- 10.9.76.1 netmask 0xff00 Opened by PID 67 The weird thing is that the first IP is not valid. I'm sure this is not supposed to be the case, but I don't know how I should fix it. My /etc/hosts and httpd.conf files were hosed because of it, so I'm going to have to figure out how to spot this problem in the scripts, and at least warn about it, if not fix it on the fly. sounds like your being assigned a new ip address and not getting the routing cleared. on dialup, i add this: /etc/ppp/ppp.linkup /etc/ppp/ppp.linkdown and add CONNECTIONNAME: -- change to your connection name iface clear and that does the trick for me.. with dialup, ez-ipupdate would grab the first one (which was the previous IP) and send it in wrong --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: portsman - need feedback and testers
On 2003.01.22 21:11:26 +, Anselm Garbe wrote: Btw. could you wrap your lines at 72 chars? Currently I have not much feedback about it, so it'd be great if you could try it and give me feedback. :-) Very nice. I personally prefer command lines but especially for new users this seems very interesting. I tried it a bit and only fonund two minor things.. The helpfile location is hardcoded to a location it might not be at (I keep manually installed programs in /usr/loca/site), and I think the program should give some kind of warning if the help file cannot be found... I wondered a bit why 'h' did not work... When running in a xterm and resizing the window the header and footer resizes but not the description text of the ports. -- Simon L. Nielsen msg16356/pgp0.pgp Description: PGP signature
4.7 - cp437 (Dos linedrawing) font for xterm
I used to use a font alias ibm-cp437 or 'vga' to get a xterm with dos linedrawing fonts. (as -fn and -fb param to xterm) I did a clean install of 4.7 for some reasons, but somehow I can't manage to get linedrawing again, and can't find 437 encoded fonts in X font.alias files. (I already installed the following X fonts packages XFree86-font100dpi-4.2.0 XFree86-font75dpi-4.2.0 XFree86-fontCyrillic-4.2.0_4 XFree86-fontDefaultBitmaps-4.2.0 XFree86-fontEncodings-4.2.0 XFree86-fontScalable-4.2.0 ) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: PPP strangeness - hosed my /etc/hosts file
On 01/22/03 05:00 PM, Doug Reynolds sat at the `puter and typed: On Wed, 22 Jan 2003 12:49:12 -0500, Louis LeBlanc wrote: Hey all. I've been with Verizon DSL for 3 or 4 months now, and just when I think I'm getting things right, I start seeing some really screwy behavior. ifconfig shows the following for the PPP interface (tun0) tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet6 fe80::2a0:c9ff:fe74:12a3%tun0 prefixlen 64 scopeid 0x8 inet 68.160.2.89 -- 10.9.64.1 netmask 0xff00 inet 68.160.25.67 -- 10.9.76.1 netmask 0xff00 Opened by PID 67 The weird thing is that the first IP is not valid. I'm sure this is /etc/hosts and httpd.conf files were hosed because of it, so I'm going to have to figure out how to spot this problem in the scripts, and at least warn about it, if not fix it on the fly. sounds like your being assigned a new ip address and not getting the routing cleared. on dialup, i add this: /etc/ppp/ppp.linkup /etc/ppp/ppp.linkdown and add CONNECTIONNAME: -- change to your connection name iface clear and that does the trick for me.. with dialup, ez-ipupdate would grab the first one (which was the previous IP) and send it in wrong I started to ask what ez-ipupdate was, but I took a look at the ports. I get my IP updated fine on zoneedit, but it doesn't require the IP in the request. I just have ppp.etherup call lynx for each domain as follows: /usr/local/bin/lynx -dump -auth=UID:PASS 'http://dynamic.zoneedit.com/auth/dynamic.html?host=mydomain.org' Zoneedit gets the IP from the tcp connection anyway, so I got lucky there. I take it you mean that you added iface clear to the ppp.linkdown? I thought I was supposed to add it to ppp.conf. I'm also trying to figure out the best way to kill ppp and restart the connection clean without having to reboot the machine. Any ideas there? Thanks a lot for the reply. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ QOTD: He eats like a bird... five times his own weight each day. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Unfortunate...
It is unfortunate that one of the developers with freebsd.org also supports companies that hijack web browsers. I had respect for freebsd before learning this, now, I do not. Too bad. Bill Fahey Canada _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Unfortunate...
what are you talkin about? On Wed, 22 Jan 2003, Bill Nolastname wrote: It is unfortunate that one of the developers with freebsd.org also supports companies that hijack web browsers. I had respect for freebsd before learning this, now, I do not. Too bad. Bill Fahey Canada _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Reboot...
On Wed, 22 Jan 2003, Wuzhen Zhang wrote: Date: Wed, 22 Jan 2003 14:29:23 -0800 (PST) From: Wuzhen Zhang [EMAIL PROTECTED] To: John Bleichert [EMAIL PROTECTED] Subject: Re: Reboot... The screen freezes (Actually no screen, only the prompt blinks). I did try the diagonistic disk from compaq, but the disk did not boot either. The screen freezes after the first sentence: Starting MS Dos... Hmm. Dunno, I've never owned a Compaq. I take it you're not booting straight from the CD but from some Compaq-supplied boot disk? I can't help you there, sorry. And please always cc: the mailing list :) Good luck - JB --- John Bleichert [EMAIL PROTECTED] wrote: On Wed, 22 Jan 2003, Wuzhen Zhang wrote: Subject: Reboot... Dear Sir, My computer came with win98. I intalled FreeBSD on the whole hard disk. I accidentally deleted my partition table because I want to re-install FreeBSD and with win98. I did sucessfully install FreeBSD in the second part of the Hard Disk, yet when I tried to install win98, My computer did not allow me to reboot with win98 startup disk? Can you help me out? Sincerely, Wuzhen Zhang Exactly what error are you getting while trying to boot from the Win98 disk? # John Bleichert # http://vonbek.dhs.org/latest.jpg __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: KVM (keyboard-video-mouse) Switch
On 22 Jan 2003 at 16:32, Bill Moran wrote: David Bear wrote: On Wed, Jan 22, 2003 at 03:21:41PM -0500, Justin P. Michel wrote: I have an electronic KVM that I want to use to switch between my crappy system, and my FreeBSD system. The keyboard and mouse work fine on my crappy system, but, on the FreeBSD system, they work fine on startup, but after switching back and forth only once, the mouse (LED mouse) starts I'm using a linksys kvm switch to go between linux (rh 7.3), freebsd (4.6), and windows2000. The only problem I have is with win2000. The switch must be set to that machine during windows startup or windows doesn't think there's a mouse.. I acutally had a similar problem between two FreeBSD systems. I have a tendency to believe that whether or not a KVM works reliably is more dependent on the PC hardware than the OS. In our case, the workaround was to ensure that the KVM was set to the system that was actively being [re]booted. As long as that's done, we've had no problems. I've used a number of different brands of KVM and have had the best success with the IOGear MiniView SE, in 2-, 4-, and 8-port versions. The only problem I've seen has been that my old FreeBSD 2.2.6 blush system occasionally won't boot properly unless the KVM is set to it, but that seems to occur less than 10% of the time. I've seen a LOT of trouble with some other brands of KVM, though I'm sure there are other good ones out there. I agree that hardware, particularly the KVM itself, is a bigger factor than the OS. -- Jerry Dunham M3 Design, Inc. [EMAIL PROTECTED] (512) 218-8858 [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cbb0: Unsupported card type detected
Im running: # uname -a FreeBSD laptop.seet.dk 5.0-RELEASE FreeBSD 5.0-RELEASE #4: Tue Jan 21 01:02:07 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEWLAPTOP i386 And my dmesg contains the following about cbb # dmesg|grep cbb cbb0: RF5C475 PCI-CardBus Bridge irq 10 at device 5.0 on pci1 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 cbb0: Unsupported card type detected Does that mean that my cardbus brigde isn't supported by freebsd or something?? the machine freezes if i stuff in my 16bit Netgear MA401 wireless pcmcia card in... And i really would like to use that card! kind regards Søren Vrist To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Unfortunate...
Yes indeed. This was really textbook flamebait. Unfortunate? You bet it is. On Wed, 22 Jan 2003, Mike Meyer wrote: In [EMAIL PROTECTED], Bill Nolastname [EMAIL PROTECTED] typed: It is unfortunate that one of the developers with freebsd.org also supports companies that hijack web browsers. This is pretty much an empty statement. The three active elements - developers with freebsd.org, support and companies that hijack web browsers are all to vague to mean anything. I mean, my code is in FreeBSD, and I by support lots of companies by buying there product, and for all I know some of them use popups to hijack web browsers, which is something I detest but never see because I'm to paranoid to let randoms download code into my browser. So he could be talking about me, but I doubt it. Either say something that isn't empty, or go away and don't bother us here. For that matter, go say it on -advocacy. That's where such things belong. mike -- +-+ This is not a signature +-+ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: PPP strangeness - hosed my /etc/hosts file
I take it you mean that you added iface clear to the ppp.linkdown? I thought I was supposed to add it to ppp.conf. I'm also trying to figure out the best way to kill ppp and restart the connection clean without having to reboot the machine. Any ideas there? Thanks a lot for the reply. Lou ** ppp.linkdown is an older way of doing the same thing as putting it in the ppp.conf both ways work Killall ppp will stop user ppp ppp -direct incoming -nat incoming is the section name in your ppp.conf where your account id and password is coded. -nat turns on Network Address Translation To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Unfortunate...
On Wed, 22 Jan 2003, Bill Nolastname wrote: It is unfortunate that one of the developers with freebsd.org also supports companies that hijack web browsers. I had respect for freebsd before learning this, now, I do not. Too bad. And your question was? KeS To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ISO IMAGES 5.0
I have downloaded your new iso images for FreeBSD 5.0-release twice from two different mirrors. The checksums do not match with those found with the images, and the images can not be booted. I do not know if anyone has emailed you about this yet, but I thought you should know. I cannot install over ftp since I do not have a floppy on my system so I need an iso to install from. Thankyou, Thomas Marshall __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
linker issue?
Howdy, I am running 4.7-stable, and tring to run an application (cross-elf-mips-gcc3.0-freebsd3.4/bin/gdb-mips) and I am getting this error: /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol __stderrp This did work before I updated to 4.7. I did some kerputzing, and have apperently messed something up. Anybody have any ideas on what I might have broken, and how I might fix it? Thanks, Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problems with IPSec
Hi all, Wasn't sure where I should ask for help with this problem, so I'm starting here. If there's a more appropriate place, please let me know. I have a FreeBSD box running -STABLE which has had IPSec working with other hosts for quite some time without a problem. I've just setup another FreeBSD box running 5.0-RC1 and am trying to establish a VPN tunnel but am not getting too far. I'm using racoon and when attempting the negotiation with debugging enabled, the following message appears: 2003-01-20 12:00:23: ERROR: pfkey.c:207:pfkey_handler(): pfkey ADD failed: Invalid argument and the following message is logged via syslog: Jan 20 12:00:23 atlas kernel: key_mature: invalid AH key length 160 (128-128 allowed) The relevant section of racoon.conf which is identical on both boxes is: sainfo anonymous { pfs_group 1; lifetime time 86400 sec; encryption_algorithm 3des ; authentication_algorithm hmac_sha1 ; compression_algorithm deflate ; } The box running -STABLE has been working fine with this configuration so I'm assuming the problem is with the box running 5.0-RC1. Interestingly, I've also tried using des as the encryption algorithm and hmac_md5 as the authentication algorithm and I receive the following error message: racoon: failed to parse configuration file. If anyone has any suggestions for a fix, or how I go about further diagnosing this problem, I'd love to hear from you. Regards, Scott. PS: Please CC replies as I'm not subscribed to the list. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems with IPSec
I have a FreeBSD box running -STABLE which has had IPSec working with other hosts for quite some time without a problem. I've just setup another FreeBSD box running 5.0-RC1 and am trying to establish a VPN tunnel but am not getting too far. I'm using racoon and when attempting the negotiation with debugging enabled, the following message appears: 2003-01-20 12:00:23: ERROR: pfkey.c:207:pfkey_handler(): pfkey ADD failed: Invalid argument and the following message is logged via syslog: Jan 20 12:00:23 atlas kernel: key_mature: invalid AH key length 160 (128-128 allowed) The relevant section of racoon.conf which is identical on both boxes is: sainfo anonymous { pfs_group 1; lifetime time 86400 sec; encryption_algorithm 3des ; authentication_algorithm hmac_sha1 ; compression_algorithm deflate ; } The box running -STABLE has been working fine with this configuration so I'm assuming the problem is with the box running 5.0-RC1. Interestingly, I've also tried using des as the encryption algorithm and hmac_md5 as the authentication algorithm and I receive the following error message: racoon: failed to parse configuration file. If anyone has any suggestions for a fix, or how I go about further diagnosing this problem, I'd love to hear from you. Regards, Scott. It looks like the AH key length needs to be forced to 128 bits??? From: http://www.qnx.com/developer/docs/momentics_nc_docs/neutrino/utilities/r/racoon.conf.html For algorithms that can take variable-length keys, algorithm names can be followed by a key length, like blowfish 448. Have you tried something along the lines of '3des 128' ? Just a guess. -Daxbert To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
error during mysql323-server installation, how to configure hostname command.
Hey! when i try to 'make install' mysql323-server i get: === Generating temporary packing list /usr/local/bin/mysql_install_db Sorry, the host 'mntkz' could not be looked up. Please configure the 'hostname' command to return a correct hostname. If you want to solve this at a later stage, restart this script with the --force option *** Error code 1 Stop in /usr/ports/databases/mysql323-server. -- how to fix this? if i do --force on mysql_install_db then make install doesn't work anymore, and i can't start mysql server because of few problems, i guess it doesn't install up to the end. Thanks for reading my problem! mNTKz To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 2003-01-22 at 15:39, Dru wrote: On Wed, 22 Jan 2003, Aqua Daemon wrote: Hello, I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working (java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same results. I saw that other people were able to upgrade with no problems. What did I do wrong or what do I need to do? This is the text output of when I loaded the 1.2.1: ___ www% mozilla No running window found. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol gdk_input_add] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so] Well, you're doing better than I am. I can't get past No running window found. And that error message is literal, I can no longer get Mozilla to come up at all :-( That was from a cvsup this morning on a 4.7-RELEASE. If you just get that message, then you get the prompt back, try running fc-cache as root (this assumes you compiled Xft support into Mozilla). If you installed Mozilla somewhere other than X11BASE, you need to modify the run-mozilla.sh script to point to where your fontconfig directory is (usually ${X11BASE}/etc/fonts). Joe Dru To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0-RELEASE and mount_msdos
On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote: Not a critical question, but ... Working on my spiffy test machine, I noticed that 5.0-RELEASE does not have a mount_msdos command. It's no biggie, I just used 'mount -t msdos' and got what I wanted, but I was wondering why this was missing? Is there a reason why it was removed, or is it some oversight? I doubt it's an oversight, as the man page is missing as well. Mostly curious, but I thought I'd point it out in case it was a mistake. afaik: [root@/usr/bin]uname -a FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20 20:21:37 EST 2003 [root@/usr/bin]mount_msdos usage: mount_msdos [-o options] [-u user] [-g group] [-m mask] [-s] [-l] [-9] [-L locale] [-W table] bdev dir and man mount_msdos brings up the manpage. --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0-RELEASE and mount_msdos
Doug Reynolds wrote: On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote: Not a critical question, but ... Working on my spiffy test machine, I noticed that 5.0-RELEASE does not have a mount_msdos command. It's no biggie, I just used 'mount -t msdos' and got what I wanted, but I was wondering why this was missing? Is there a reason why it was removed, or is it some oversight? I doubt it's an oversight, as the man page is missing as well. Mostly curious, but I thought I'd point it out in case it was a mistake. afaik: [root@/usr/bin]uname -a FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20 20:21:37 EST 2003 [root@/usr/bin]mount_msdos usage: mount_msdos [-o options] [-u user] [-g group] [-m mask] [-s] [-l] [-9] [-L locale] [-W table] bdev dir and man mount_msdos brings up the manpage. Hmmm ... did you upgrade this machine from 4.X? The machine in question is a clean 5.0-RELEASE install. -- 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
Re: 5.0-RELEASE and mount_msdos
On 2003-01-22 16:52, Doug Reynolds [EMAIL PROTECTED] wrote: On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote: Working on my spiffy test machine, I noticed that 5.0-RELEASE does not have a mount_msdos command. It's no biggie, I just used 'mount -t msdos' and got what I wanted, but I was wondering why this was missing? Is there a reason why it was removed, or is it some oversight? I doubt it's an oversight, as the man page is missing as well. afaik: [root@/usr/bin]uname -a FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20 20:21:37 EST 2003 [root@/usr/bin]mount_msdos usage: mount_msdos [-o options] [-u user] [-g group] [-m mask] [-s] [-l] [-9] [-L locale] [-W table] bdev dir and man mount_msdos brings up the manpage. Strange. This has been changed a while ago: http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mount_msdosfs/Makefile.diff?r1=1.17r2=1.18 and the only mount_msdos binary that I have in my system is a rather stale copy from Oct 9 2002 (boy, I need to clean up this installation one of these days): giorgos@gothmog[00:11]/home/giorgos$ ls -lT /sbin/mount_msdos* -r-xr-xr-x 1 root wheel - 183776 Oct 9 15:45:24 2002 /sbin/mount_msdos -r-xr-xr-x 1 root wheel - 378172 Jan 22 18:47:00 2003 /sbin/mount_msdosfs To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
installworld to directory other than /
Hello, I would like to make installworld to some directory other than /, e.g., to directory /new, while the old system is working. The only way to do that which I can think of is - copy /, /usr and /var to /new - chroot /new - make installworld from there Is there more easy/elegant way? Thanks, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: installworld to directory other than /
On Thu, Jan 23, 2003 at 01:31:42AM +0300, Alexey Koptsevich wrote: Hello, I would like to make installworld to some directory other than /, e.g., to directory /new, while the old system is working. The only way to do that which I can think of is - copy /, /usr and /var to /new - chroot /new - make installworld from there Is there more easy/elegant way? Simple: # make installworld DESTDIR=/new Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 22 Jan 2003 11:18:25 -0600 Dennis Moore [EMAIL PROTECTED] wrote: On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote: Hello, I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working (java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same results. I saw that other people were able to upgrade with no problems. What did I do wrong or what do I need to do? This is the text output of when I loaded the 1.2.1: ___ www% mozilla No running window found. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol gdk_input_add] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so] just a guess.. /xfer/ports/www/mozilla cat pkg-message ### A symlink has been created for the Java plugin. However, in order for Java to function, you must first install the java/jdk13 port. If you do not do this, you will see the following error when starting Mozilla: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so] If you do not want Java support, you can safely ignore this message. ### -- Dennis Moore I did install jdk13 port before installing/upgrading/reinstalling mozilla port (at /www/mozilla (I included WITH_GTK2=yes), not at /www/mozilla-gtk2 (don't know if the script is different, haven't tried that port yet). I removed the link to java plugin in mozilla, then the first error disappeared, but the second still existed. Then I removed the java plugin in the /usr/X11R6/lib/browser_plugins, then all the errors went away but no java plugins were loaded. At all times, mozilla loaded up just fine. After googling and finding minimal information (some websites are assuming that gdk_input_add has problems with gtk2), I deinstalled mozilla and reinstalled it without the gtk2 prefix, only then does the java plugin work fine. Same results on both 5.0 and 4.7 boxes. Has anyone installed /www/mozilla-gtk2 or /www/mozilla WITH_GTK2 have their java plugin loaded up without problems? Any idea how I can install with gtk2 and java plugin working? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 2003-01-22 at 09:52, Aqua Daemon wrote: On Wed, 22 Jan 2003 11:18:25 -0600 Dennis Moore [EMAIL PROTECTED] wrote: On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote: Hello, I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working (java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same results. I saw that other people were able to upgrade with no problems. What did I do wrong or what do I need to do? This is the text output of when I loaded the 1.2.1: ___ www% mozilla No running window found. LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol gdk_input_add] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open /usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so] just a guess.. /xfer/ports/www/mozilla cat pkg-message ### A symlink has been created for the Java plugin. However, in order for Java to function, you must first install the java/jdk13 port. If you do not do this, you will see the following error when starting Mozilla: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so] If you do not want Java support, you can safely ignore this message. ### -- Dennis Moore I did install jdk13 port before installing/upgrading/reinstalling mozilla port (at /www/mozilla (I included WITH_GTK2=yes), not at /www/mozilla-gtk2 (don't know if the script is different, haven't tried that port yet). I removed the link to java plugin in mozilla, then the first error disappeared, but the second still existed. Then I removed the java plugin in the /usr/X11R6/lib/browser_plugins, then all the errors went away but no java plugins were loaded. At all times, mozilla loaded up just fine. After googling and finding minimal information (some websites are assuming that gdk_input_add has problems with gtk2), I deinstalled mozilla and reinstalled it without the gtk2 prefix, only then does the java plugin work fine. Same results on both 5.0 and 4.7 boxes. Has anyone installed /www/mozilla-gtk2 or /www/mozilla WITH_GTK2 have their java plugin loaded up without problems? Any idea how I can install with gtk2 and java plugin working? I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home. I didn't do anything special, I just built mozilla-gtk2, then build jdk13. Joe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-gnome in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message