Huawei 3g Modem
Hello, i have a Huawei EC-325 Modem which is connected to my Computer running FreeBSD 6.3 with a mini-USB Cable, and supposedly is supported by the ubsa driver, as described here "http://www.freebsd.org/cgi/man.cgi?query=ubsa&sektion=4&manpath=FreeBSD+6.3-RELEASE ". I modified my /boot/loader.conf to yield the following: ubsa_load="YES" ucom_load="YES" After rebooting, kldstat shows the above modules loaded. When i re-insert my Huawei Modem, dmesg displays: ucom0: Huawei Technologies Huawei Mobile, rev 1.01/0.00, addr 2 My ppp.conf looks like this: default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0 set speed 230400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) three: set phone \#77 set authname card set authkey card disable ipv6cp set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR But when i run ppp -ddial three , ppp.log reports this output: Jan 28 15:32:57 testbed ppp[824]: Phase: Using interface: tun0 Jan 28 15:32:57 testbed ppp[824]: Phase: deflink: Created in closed state Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: ident user- ppp VERSION (built COMPILATIONDATE) Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set device / dev/cuaU0 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set speed 230400 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set timeout 180 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: enable dns Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set phone #77 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authname card Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authkey Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: disable ipv6cp Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: add default HISADDR Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: PPP Started (ddial mode). Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: bundle: Establish Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: closed -> opening Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: Connected! Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: opening -> dial Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Phone: #77 Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: ^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT&FE0V1X1&D2&C1S0=0^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: AT&FE0V1X1&D2&C1S0=0^M^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: ATDT#77^M Jan 28 15:32:59 testbed ppp[825]: tun0: Chat: Expect(40): CONNECT Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: ^M Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: NO CARRIER^M Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: Chat script failed Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: dial -> hangup Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to set physical to speed 0 Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: Disconnected! Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to set physical to speed 0 Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Connect time: 17 secs: 0 octets in, 0 octets out Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: 0 packets in, 0 packets out Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jan 28 15:32:57 2008 Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: hangup -> opening Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Enter pause (30) for redialing. Additionally, after running ppp -ddial three, dmesg shows a lot of lines like these: ucom0: ubsa_request: STALLED ucom0: ubsa_request: STALLED Can anyone help me to get this to work? Thanks and best regards, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: passive ftp transfer with pkg_add
> Thank you very much! When I want to revert it, will it suffice to type: > export FTP_PASSIVE_MODE=false unset FTP_PASSIVE_MODE will unset the variable. Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: passive ftp transfer with pkg_add
Hello, 2008/1/28, Norman Maurer <[EMAIL PROTECTED]>: > > Am Montag, den 28.01.2008, 07:19 +0100 schrieb Zbigniew Szalbot: > > Hello, > > > > I have been trying to install KDE by using pkg_add -r kde but the > > download is always failing. Reading man pkg_add I see a reference to > > change the FTP mode to passive if the download constantly fails. > > However, man does not say which file should be edited to change it. I > > tried pkgtools.conf but I have not found anything about FTP transfer > > mode in there. > > > > Can you advise which file needs to be edited? > > > > Also: > > > > "Note: If you wish to use passive mode ftp in such transfers, set the > > variable FTP_PASSIVE_MODE to some value in your environment." > > > > What value should be set for FTP_PASSIVE_MODE? Any value? > > > > Many thanks! > > > > Zbigniew Szalbot > > Yes just do something like that: > > # export FTP_PASSIVE_MODE=true Thank you very much! When I want to revert it, will it suffice to type: export FTP_PASSIVE_MODE=false ? Thank you again! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: passive ftp transfer with pkg_add
Am Montag, den 28.01.2008, 07:19 +0100 schrieb Zbigniew Szalbot: > Hello, > > I have been trying to install KDE by using pkg_add -r kde but the > download is always failing. Reading man pkg_add I see a reference to > change the FTP mode to passive if the download constantly fails. > However, man does not say which file should be edited to change it. I > tried pkgtools.conf but I have not found anything about FTP transfer > mode in there. > > Can you advise which file needs to be edited? > > Also: > > "Note: If you wish to use passive mode ftp in such transfers, set the > variable FTP_PASSIVE_MODE to some value in your environment." > > What value should be set for FTP_PASSIVE_MODE? Any value? > > Many thanks! > > Zbigniew Szalbot Yes just do something like that: # export FTP_PASSIVE_MODE=true bye Norman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: suggested size of /var/mail
Hi, > Are there any smart ways to decide how to size /var/mail. > I plan to put it on a seperate partition ... or shouldn't I? How much mail storage do you plan to offer per user, how many users do you plan to have? Multiplp, add 50% margin and you have it. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
suggested size of /var/mail
Dear list, I am currently setting up a server which should include email service. Are there any smart ways to decide how to size /var/mail. I plan to put it on a seperate partition ... or shouldn't I? TIA for any related tips! Zheyu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
passive ftp transfer with pkg_add
Hello, I have been trying to install KDE by using pkg_add -r kde but the download is always failing. Reading man pkg_add I see a reference to change the FTP mode to passive if the download constantly fails. However, man does not say which file should be edited to change it. I tried pkgtools.conf but I have not found anything about FTP transfer mode in there. Can you advise which file needs to be edited? Also: "Note: If you wish to use passive mode ftp in such transfers, set the variable FTP_PASSIVE_MODE to some value in your environment." What value should be set for FTP_PASSIVE_MODE? Any value? Many thanks! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT: Invoking a shell command from a Makeile
On 2008-01-28 05:19, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: > On Jan 28, 2008 2:59 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > FPCVERSION!= make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION > > Yes, I found this out after some searching in google. > > > I'm curious though. Why do you have to find the value of the > > {PORTVERSION} from a Ports makefile? > > > > Perhaps there is already a `standard' feature of the Ports which can do > > something similar. Have you asked around in freebsd-ports? > > The port I am developing builds and installs a software called nbc > [1], [2]. It is written in Pascal and uses the freepascal compiler [3] > coming from lang/fpc port and some other pascal libraries called units > coming from devel/fpc-fcl-base. These units are installed into > /usr/local/lib/fpc/, where portversion of_fpc is > the version of the freepascal compiler as defined in PORTVERSION > variable in fpc's Makefile. Currently it is 2.2.0. I do not want to > hardcode that number in nbc port's Makefile - I want to extract it on > the fly from fpc port's Makefile, this is why I am doing this trick. That's interesting, but the *installed* copy of devel/fpc-fcl-base may be older than the available version in `/usr/ports'. Many programs install an `xxx-config' script too, which can be queried at runtime, i.e.: $ net-snmp-config --version 5.3.1 This runs from ${LOCALBASE} and it is *always* the same as the installed version of the net-snmp port. Maybe a similar script can be added to the devel/fpc-fcl-base port, if one is not already part of it? In a similar vein, the editors/emacs* ports support installing extensions in multiple subdirs of ${LOCALBASE} by switching make variables depending on the value of ${EMACS_PORT_NAME}. It's probably more work to make devel/fpc-fcl-base tunable like this, but it is going to be safer than assuming that the /usr/ports/lang/fpc version is actually the same as the installed version. This assumption is only true until the next CVSup of the ports tree, or until portsnap fetches a newer version of lang/fpc. I'm *not* a ports hacker, so some of the above may be false and all of it should be taken with a grain of salt, but I'm sure our freebsd-ports guys can help :) It's definitely worth asking them for the best way to implement something like this. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Missing kernel configuration files
I had such mistake several days ago. In my case the reson was that I forgot that I`m usin amd64 arch, and I placed config to /usr/src/sys/i386/conf, but the right place was /usr/src/sys/amd64/conf PS: Ну если не говоришь ты хорошо по английски, то хоть не позорь родной союз :-). Тему письма надо указывать. JSCB Alokabank пишет: Please help me I'am beginer in FreeBSD I try to rebuild kernel files for optimizations system. Whate i gona do? sorry but i dont speake englash language wery well. look to include files this is my build kernel. I'am talk on russian. make buildkernel KERNCONF=KERNEL ERROR: Missing kernel configuration file(s) (KERNEL) *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src # Лидер бывает только один - UzNet www.uznet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT: Invoking a shell command from a Makeile
Hello Georgious, On Jan 28, 2008 2:59 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2008-01-28 00:48, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am developing a FreeBSD port and I would like to invoke a shell > > command from it and assign its output to a variable. The command in > > question is > > > > # make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION > > > > and I have verified that it works on the command line. > > > > I try to use it in my port's Makefile in the following way: > > > > FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V > > PORTVERSION` > > > > but it fails with the following error > > > > Syntax error: EOF in backquote substitution > > Try the BSD-specific syntax which uses bang-equal assignment to grab the > output of a shell command and assign it to a make variable: > > FPCVERSION!= shell cmd here > > i.e. something like: > > FPCVERSION!= make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION Yes, I found this out after some searching in google. > I'm curious though. Why do you have to find the value of the > {PORTVERSION} from a Ports makefile? > > Perhaps there is already a `standard' feature of the Ports which can do > something similar. Have you asked around in freebsd-ports? The port I am developing builds and installs a software called nbc [1], [2]. It is written in Pascal and uses the freepascal compiler [3] coming from lang/fpc port and some other pascal libraries called units coming from devel/fpc-fcl-base. These units are installed into /usr/local/lib/fpc/, where portversion of_fpc is the version of the freepascal compiler as defined in PORTVERSION variable in fpc's Makefile. Currently it is 2.2.0. I do not want to hardcode that number in nbc port's Makefile - I want to extract it on the fly from fpc port's Makefile, this is why I am doing this trick. Regards Rambius [1] http://bricxcc.sourceforge.net/nbc/ [2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116274 [3] http://www.freepascal.org/ -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: why am i sending mutt mail with my FQDN??
On Sat, Jan 26, 2008 at 07:19:48PM -0500, Chuck Swiger wrote: > > > >I0/85/212006 > >MDeferred: 450 4.7.1 : Helo command rejected: Host not > >found > >${if_addr}127.0.0.1 > >S<[EMAIL PROTECTED]> > >MDeferred: 450 4.7.1 : Helo command rejected: Host not > >found > >rRFC822; freebsd-questions@freebsd.org > > Yes, you should either set up working DNS for all of your machines which > send email (if you control the DNS for thought.org, consider using DynDNS > or equivalent so that tao.thought.org is resolvable) or (depending on > whether you have administrative control over the destination SMART_HOST > mailserver) look into the access map: > > http://www.sendmail.org/m4/anti_spam.html#access_db > > ...or, failing that, enabling these with caution: > > accept_unresolvable_domains > Normally, MAIL FROM: commands in the SMTP session will be > refused if the host part of the argument to MAIL FROM: > cannot be located in the host name service (e.g., an A or > MX record in DNS). If you are inside a firewall that has > only a limited view of the Internet host name space, this > could cause problems. In this case you probably want to > use this feature to accept all domains on input, even if > they are unresolvable. Well, it looks as tho the remote hosts (like magnesium.net) are rejecting my mail. I was wrong a couple days ago when Isaid that MASQUERADE_AS() and FEATURE() were successfuly rewriting my envelope. Further tests ptoved that. And while it's easy enough to ssh over here (aristotle) and run mutt, U'd rather figure out the mutt/imap opttions as the mutt manual deetails. I haave control of the entire ``thought.org'' dmain. The complications are that my DNS records may not be correctly configured. Also that my nice, new, bulletproof firewall may be an issue, altho I doubr it. > > relay_entire_domain > This option allows any host in your domain as defined by > class {m} to use your server for relaying. Notice: make > sure that your domain is not just a top level domain, > e.g., com. This can happen if you give your host a name > like example.com instead of host.example.com. > > You can also define your local host name (aka class w) to be something > which the other machine can resolve. By the way, an excerpt from the mail > logs (/var/log/mail.log) are the best source of info for relaying issues, > although it is possible to figure out some of the issues from a stuck > message in the spool. My network looks llike this: INTERNET -> Firewall -> sage [ which runs one jail with DNS, web, and mail ] sage feeds my desktops, one laptop, and other Windows computers. For reasons that are beyond me, working on desktop "tao" and going thru aristotle's IMAP service, the FROM remains ``tao.thought.org'' when mail goes out the wire. Ionly have one sendmail now--on aristotle--and that was where I put the MASQUERADE_AS/FEATURE lines. How/why sendmail isn't dooing this is beyond me. > It's also possible that if you set your SMART_HOST to your ISP's > mailserver, and configure authentication with them, they will let you relay > even if your mail submission is using local/invalid DNS hostnames. I think that *I* am my SMART_HOST! This, according to my ISP who doesn't seem eager to deal with my configs. Better, IMO, to figure out this confusion and get this working at my end. I'll try to define local host names (class w); see if that helps. gary PS: ANYBody who knows where things are fouled up, please jump in ! > > Regards, > -- > -Chuck > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org host==ARISTOTLE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT: Invoking a shell command from a Makeile
On 2008-01-28 00:48, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: > Hello, > > I am developing a FreeBSD port and I would like to invoke a shell > command from it and assign its output to a variable. The command in > question is > > # make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION > > and I have verified that it works on the command line. > > I try to use it in my port's Makefile in the following way: > > FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION` > > but it fails with the following error > > Syntax error: EOF in backquote substitution Try the BSD-specific syntax which uses bang-equal assignment to grab the output of a shell command and assign it to a make variable: FPCVERSION!= shell cmd here i.e. something like: FPCVERSION!= make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION I'm curious though. Why do you have to find the value of the {PORTVERSION} from a Ports makefile? Perhaps there is already a `standard' feature of the Ports which can do something similar. Have you asked around in freebsd-ports? - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT: Invoking a shell command from a Makeile
Ivan "Rambius" Ivanov wrote: I do use BSD make and not GNU make, but your examples gave me a hint what I should search on google and I found the exact syntax: Glad I could help, be it in a roundabout way. Alphons -- VISTA - Viruses Intruders Spyware Trojans Adware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT: Invoking a shell command from a Makeile
Hello Alphons, On Jan 28, 2008 1:07 AM, Alphons Fonz van Werven <[EMAIL PROTECTED]> wrote: > Ivan "Rambius" Ivanov wrote: > > > I am developing a FreeBSD port and I would like to invoke a shell > > command from it and assign its output to a variable. > > If you're using GNU make (called gmake on BSD systems), you can do > VAR := $(shell command) > or, as a concrete example, > CFILES := $(shell ls *.c) > Not that I recommend using that example, it just goes to illustrate. > > If you're using BSD make, I wouldn't know though. I'm just not familiar > with that. And if you wish to do it in a portable way such that it works > with BSD make, GNU make or whatever, then all I can say is good luck... I do use BSD make and not GNU make, but your examples gave me a hint what I should search on google and I found the exact syntax: FPCVERSION!=make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION The assignment is done by the bang equals sign "!=" and I found it explained here http://www.khmere.com/freebsd_book/html/ch01.html Thank you for your quick response. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slightly OT: Invoking a shell command from a Makeile
Ivan "Rambius" Ivanov wrote: I am developing a FreeBSD port and I would like to invoke a shell command from it and assign its output to a variable. If you're using GNU make (called gmake on BSD systems), you can do VAR := $(shell command) or, as a concrete example, CFILES := $(shell ls *.c) Not that I recommend using that example, it just goes to illustrate. If you're using BSD make, I wouldn't know though. I'm just not familiar with that. And if you wish to do it in a portable way such that it works with BSD make, GNU make or whatever, then all I can say is good luck... Hth, Alphons -- VISTA - Viruses Intruders Spyware Trojans Adware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Slightly OT: Invoking a shell command from a Makeile
Hello, I am developing a FreeBSD port and I would like to invoke a shell command from it and assign its output to a variable. The command in question is # make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION and I have verified that it works on the command line. I try to use it in my port's Makefile in the following way: FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION` but it fails with the following error Syntax error: EOF in backquote substitution I also tried FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION` but it fails on the same error. Can you please advise me how to call this command? Thank you in advance. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to backup the users
"Alphons \"Fonz\" van Werven" <[EMAIL PROTECTED]> wrote: > > Ivan "Rambius" Ivanov wrote: > > > I was only unsure how to proceed with the users backup. > > If users are the only thing you wish to back up: > > /home > /etc/group > /etc/master.passwd He's running an ssh server, so he's going to want to back up the host keys in /etc/ssh -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Outgoing FTP connections with pf and ftp-proxy
Matthias Kellermann wrote: Hi list, I'm trying to get outgoing FTP sessions to work with pf and ftp/ftp-proxy in a NAT environment. My simple config on a test machine looks like this: -- int_if = "rl0" localnet = "192.168.0.0/24" tcp_services = "{ ssh, domain, www, https, ftp }" udp_services = "{ domain }" nat on $int_if from $localnet to any -> ($int_if) rdr pass proto tcp from any to any port ftp -> 127.0.0.1 port 8021 block all pass from $localnet to any keep state pass proto udp to any port $udp_services keep state pass out proto tcp to any port $tcp_services keep state pass in proto tcp from any to any user proxy keep state pass in proto tcp from any to any port ssh keep state -- FTP login works fine. But if I want to do a "ls" on the FTP server I get the following error on the client (no matter if NAT client or gateway): 425 Failed to establish connection. Any idea whats wrong with my setup? Thanks, Matthias Aloha Matthias, I am having the same ftp problem on servers that are on an ATM 5 IP circuit. There is no NAT involved with one of these. The outbound FTP goes out but I cant get the files to list when I go inbound from outside on an recognized IP. SSH on the same box works fine. It would make my day to get this working. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* + "All that's really worth doing is what we do for others."- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounting/reading a DVD
On субота 26 січень 2008, CryptWizard wrote: = It's because the DVD is copy protected. Yes, I guess so... Using ddrescue, as described in http://gentoo-wiki.com/HOWTO_Backup_a_DVD#ARccOS_.26_Other_intentional_sector_corruption seems to have extracted an ISO-image... -mi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error while updating ports: x11/xorg-libraries
On Sun, Jan 27, 2008 at 06:41:26AM +0100, Huub wrote: > > > >Hmm, how did you end up with 7.2 installed, with the old /usr/X11R6 dir? > >I thought that went away in the transition from 6.9 to 7.2... > > So it apparently should be.. > > > > >Anyhow, following Kris' instructions in UPDATING should see you through > >the upgrade OK. I did it quite painlessly on a few machines, although > >others did report difficulties. If it comes to it, you can uninstall > >all your X-related ports and do a clean install of Xorg 7.3 - it'll > >take a while, but it will get the job done. > > According to the instructions: > > Unfortunately portupgrade (nor portupgrade-devel) cannot yet handle > the rigors of the xorg upgrade without a small bit of help: > > # portupgrade -Rf libXft > > results in: > > ** Listing the failed packages (*:skipped / !:failed) > * x11/xorg-libraries (xorg-libraries-7.2_1) > ---> Packages processed: 112 done, 47 ignored, 1 skipped and 0 failed Yep, because /usr/X11R6 still exists. Try running the mergebase.sh script at /usr/ports/Tools/scripts/mergebase.sh. My guess is that in the past you began the upgrade path from 6.9 to 7.x but didn't quite finish the procedure (note that is very much a guess). You should probably read through the script before you run it, just in case your system isn't set up as it expects. > > So I guess I'm gonna do a clean install of all of Xbut can you tell > me which packages I should remove exactly? Depends very much on what you have installed - pkg_info(1)'s -r and -R options will help you to build up an overview of what you need to remove/update, if mergebase doesn't work. It's a good idea to save a list of currently-installed ports to refer to in the event this all goes *pop*. Good luck! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpsoNw2ZYT4P.pgp Description: PGP signature
Outgoing FTP connections with pf and ftp-proxy
Hi list, I'm trying to get outgoing FTP sessions to work with pf and ftp/ftp-proxy in a NAT environment. My simple config on a test machine looks like this: -- int_if = "rl0" localnet = "192.168.0.0/24" tcp_services = "{ ssh, domain, www, https, ftp }" udp_services = "{ domain }" nat on $int_if from $localnet to any -> ($int_if) rdr pass proto tcp from any to any port ftp -> 127.0.0.1 port 8021 block all pass from $localnet to any keep state pass proto udp to any port $udp_services keep state pass out proto tcp to any port $tcp_services keep state pass in proto tcp from any to any user proxy keep state pass in proto tcp from any to any port ssh keep state -- FTP login works fine. But if I want to do a "ls" on the FTP server I get the following error on the client (no matter if NAT client or gateway): 425 Failed to establish connection. Any idea whats wrong with my setup? Thanks, Matthias signature.asc Description: OpenPGP digital signature
Re: How to backup the users
You might as well save the whole /etc, you will probably need other conf files and surely you would like to have /etc/passwd and /etc/group not passwd - is generated from master.passwd but group - yes, sorry i missed it. In fact, I would also backup the whole /usr/local/etc to get all the configuration settings for my services and so on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to backup the users
Ivan "Rambius" Ivanov wrote: I was only unsure how to proceed with the users backup. If users are the only thing you wish to back up: /home /etc/group /etc/master.passwd You can backup system files (/etc, /usr/local/etc, /var) if you want but that's another topic. Some hints: 1. Check if there are users who have their home-dir outside /home... 2. Check /tmp to see if users have files there (they shouldn't count on those being preserved, that's not what /tmp is for, but you might want to offer a little bit of extra service by doing this anyway) 3. There might be slight differences between the current /etc/group and /etc/master.passwd and the ones on the new system. So, instead of blindly copying the old ones onto the new system, I suggest you add the relevant entries in the old files to the new files by hand (or script). 4. If you copy the encrypted passwords, then users don't need to set a new password after you've reinstalled the system. 5. Keep track of UIDs/GIDs: you might need to do some chowning to give everybody their files back if their (numerical) UIDs/GIDs have changed. 6. If you don't need to repartition your disks, it might be an option to just leave /home alone during the reinstall (set the newfs flag to N). That leaves /home untouched and you can just mount it afterwards. Hth, Alphons -- VISTA - Viruses Intruders Spyware Trojans Adware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to backup the users
On Jan 27, 2008 6:58 PM, Bill Moran <[EMAIL PROTECTED]> wrote: > Manolis Kiagias <[EMAIL PROTECTED]> wrote: > > > > Wojciech Puchar wrote: > > >> Hello, > > >> > > >> I am running a small FreeBSD server and I have a a couple of users > > >> ssh'ing to it. I want to wipe the server out and reinstall FreeBSD on > > >> it, but I want to preserve the users' credentials. Can you please > > >> advise me how to back them up? > > > > > > /home/* > > > /etc/master.passwd > > > /var/cron/tabs/* > > > /var/mail/* > > > > > > possibly other files. > > > > > > > > > but format+reinstall is when you have windows, with unix there is no > > > need to. > > > > > > > > You might as well save the whole /etc, you will probably need other conf > > files and surely you would like to have /etc/passwd and /etc/group > > In fact, I would also backup the whole /usr/local/etc to get all the > > configuration settings for my services and so on. > > A good, general rule of thumb for backing up a system is: > /etc > /usr/local/etc > /home > /var > > /var is the wildcard here ... /etc and /usr/local/etc are generally very > small. /home can be huge, but if it is, it's probably because there is > a lot of important data there. > > But /var can be large with a lot of stuff that you may not want to back > up. Do you need /var/log, for example? > > Frankly, if you have enough space to back up, I recommend you back up the > entire system and restore selectively. Do you have, for example, a > database in /usr/local/pgsql? If you're asking this question, you're > probably better off safe than sorry. I do not have any databases servers on the machine. In fact, it hosts only a cvs repository and a web server and I have already backed them up. I was only unsure how to proceed with the users backup. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to backup the users
Manolis Kiagias <[EMAIL PROTECTED]> wrote: > > Wojciech Puchar wrote: > >> Hello, > >> > >> I am running a small FreeBSD server and I have a a couple of users > >> ssh'ing to it. I want to wipe the server out and reinstall FreeBSD on > >> it, but I want to preserve the users' credentials. Can you please > >> advise me how to back them up? > > > > /home/* > > /etc/master.passwd > > /var/cron/tabs/* > > /var/mail/* > > > > possibly other files. > > > > > > but format+reinstall is when you have windows, with unix there is no > > need to. > > > > > You might as well save the whole /etc, you will probably need other conf > files and surely you would like to have /etc/passwd and /etc/group > In fact, I would also backup the whole /usr/local/etc to get all the > configuration settings for my services and so on. A good, general rule of thumb for backing up a system is: /etc /usr/local/etc /home /var /var is the wildcard here ... /etc and /usr/local/etc are generally very small. /home can be huge, but if it is, it's probably because there is a lot of important data there. But /var can be large with a lot of stuff that you may not want to back up. Do you need /var/log, for example? Frankly, if you have enough space to back up, I recommend you back up the entire system and restore selectively. Do you have, for example, a database in /usr/local/pgsql? If you're asking this question, you're probably better off safe than sorry. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to backup the users
Wojciech Puchar wrote: Hello, I am running a small FreeBSD server and I have a a couple of users ssh'ing to it. I want to wipe the server out and reinstall FreeBSD on it, but I want to preserve the users' credentials. Can you please advise me how to back them up? /home/* /etc/master.passwd /var/cron/tabs/* /var/mail/* possibly other files. but format+reinstall is when you have windows, with unix there is no need to. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" You might as well save the whole /etc, you will probably need other conf files and surely you would like to have /etc/passwd and /etc/group In fact, I would also backup the whole /usr/local/etc to get all the configuration settings for my services and so on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to backup the users
Hello, I am running a small FreeBSD server and I have a a couple of users ssh'ing to it. I want to wipe the server out and reinstall FreeBSD on it, but I want to preserve the users' credentials. Can you please advise me how to back them up? /home/* /etc/master.passwd /var/cron/tabs/* /var/mail/* possibly other files. but format+reinstall is when you have windows, with unix there is no need to. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to backup the users
Hello, I am running a small FreeBSD server and I have a a couple of users ssh'ing to it. I want to wipe the server out and reinstall FreeBSD on it, but I want to preserve the users' credentials. Can you please advise me how to back them up? Thank you in advance. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [FreeBSD] 6.3-R diskhandling
Gerard wrote: There have been several articles written describing how to install Vista after installing another OS. You could start with this one, or Google for others. http://apcmag.com/5045/how_to_dual_boot_vista_with_linux That probably works with the retail versions of Vista, but the OEM version that came with my laptop removes all partitions on the disk, period. Thinking of it, it might be that this is not Microsoft's fault, but that of the laptop manufacturer for making such a braindamaged installer. This thread is getting off-topic... Alphons -- VISTA - Viruses Intruders Spyware Trojans Adware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [FreeBSD] 6.3-R diskhandling
On Sun, 27 Jan 2008 14:22:21 + "Alphons \"Fonz\" van Werven" <[EMAIL PROTECTED]> wrote: [ snip ] > I believe that in Redmond you'll find some people who disagree with > you... I can't re-install Vista here without it wiping the entire > disk. Older versions of DOS/Windows merely overwrote the MBR, > something that wasn't right either, but at least it could be fixed. > Vista doesn't seem willing to share at all. There have been several articles written describing how to install Vista after installing another OS. You could start with this one, or Google for others. http://apcmag.com/5045/how_to_dual_boot_vista_with_linux I ran across a Microsoft KB article describing how to accomplish it also; but for the life of me, I cannot find it again. If I feel ambitious at some future point, I might re-investigate it. BTW, from what I have read, Vista does not have to be on the primary partition any longer. It simply needs to be on the active one to boot. I have not investigated that however. -- Gerard [EMAIL PROTECTED] QOTD: "Sure, I turned down a drink once. Didn't understand the question." signature.asc Description: PGP signature
Re: [FreeBSD] 6.3-R diskhandling
Gerard wrote: Come to think of it, does sysinstall keep a copy of the MBR as it was before the installation? I checked and it doesn't seem to be the case. Might be worth a PR? No OS, irregardless of whether it is a *.nix *.BSD or Microsoft Windows should overwrite or disable another OS or it's files, period, unless the user so configures the new installation to do so. I believe that in Redmond you'll find some people who disagree with you... I can't re-install Vista here without it wiping the entire disk. Older versions of DOS/Windows merely overwrote the MBR, something that wasn't right either, but at least it could be fixed. Vista doesn't seem willing to share at all. Alphons -- VISTA - Viruses Intruders Spyware Trojans Adware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [FreeBSD] 6.3-R diskhandling
On Sun, 27 Jan 2008 13:07:59 + "Alphons \"Fonz\" van Werven" <[EMAIL PROTECTED]> wrote: > Chuck Swiger wrote: > > [Bootloader overwrites Vista's "UID" in the MBR] > > > This has been informative-- perhaps someone ought to file a PR > > about having the installer try to preserve this UID in the MBR...? > > Or perhaps send a message to -hackers. > > I have been using FreeBSD for a long time so I wanted to have this > fixed somehow (and it has been). But I can imagine it might scare away > people who are new to FreeBSD: "What a bonehead system, it hosed my > Windows. I'll never use that crap again!" > > Come to think of it, does sysinstall keep a copy of the MBR as it was > before the installation? That way, at least people can get their > precious little Windows (yuck) back without having to reinstall it. > If it doesn't, I think it would be a very desirable feature. No OS, irregardless of whether it is a *.nix *.BSD or Microsoft Windows should overwrite or disable another OS or it's files, period, unless the user so configures the new installation to do so. -- Gerard [EMAIL PROTECTED] Lysistrata had a good idea. signature.asc Description: PGP signature
Re: (no subject)
Hi there, On 27/01/2008, JSCB Alokabank <[EMAIL PROTECTED]> wrote: [...] > make buildkernel KERNCONF=KERNEL > ERROR: Missing kernel configuration file(s) (KERNEL) > *** Error code 1 Is the KERNEL file in the right directory? It has to be /usr/src/sys/i386/conf/KERNEL or /usr/src/sys/amd64/conf, depending on the platform you're on. AFAIK you can't build an amd64 kernel on i386 and vice versa, so make sure your configuration is in the right directory. Use $ uname -m to determine on what platform you're on. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [FreeBSD] 6.3-R diskhandling
Chuck Swiger wrote: [Bootloader overwrites Vista's "UID" in the MBR] This has been informative-- perhaps someone ought to file a PR about having the installer try to preserve this UID in the MBR...? Or perhaps send a message to -hackers. I have been using FreeBSD for a long time so I wanted to have this fixed somehow (and it has been). But I can imagine it might scare away people who are new to FreeBSD: "What a bonehead system, it hosed my Windows. I'll never use that crap again!" Come to think of it, does sysinstall keep a copy of the MBR as it was before the installation? That way, at least people can get their precious little Windows (yuck) back without having to reinstall it. If it doesn't, I think it would be a very desirable feature. Just a thought (or two), Alphons -- VISTA - Viruses Intruders Spyware Trojans Adware ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xserver woes
On 27/01/2008, Chris Maness <[EMAIL PROTECTED]> wrote: > I have a "headless" box where I upgraded from 7.2 to 7.3 per the > security issue, now I am unable to start vnc. I get: [...] > Fatal server error: > could not open default font 'fixed' ports/x11-fonts/font-alias ? [...] > Any ideas folks? > > -- > Chris Maness > (909) 223-9179 > http://www.chrismaness.com > -- Regards, Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(no subject)
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: (no subject)
On Sun, 2008-01-27 at 12:38 +0500, JSCB Alokabank wrote: > ERROR: Missing kernel configuration file(s) (KERNEL) Have u downloaded the kernel sources and followed the instructions in the *handbook* ? if u have installed it: usr/share/doc/handbook/kernelconfig-building.html Otherwise u find it on the net: www.freesbd.org/... From the handbook: ... Building a Kernel 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=MYKERNEL 3. Install the new kernel: # make installkernel KERNCONF=MYKERNEL Note: It is required to have full FreeBSD source tree to build the kernel. ... -- /Peo -- - PGP signed/encrypted emails is prefered - -- [novice about this? ~> visit: www.gnupg.org] signature.asc Description: This is a digitally signed message part
RE: The question about Broadcom BCM5721 ethernet adapter integrated in motherboard, on PCIe and FreeBSD6.3
There is no difference for this driver. Ted > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Leonid > Satanovsky > Sent: Sunday, January 27, 2008 2:11 AM > To: Ted Mittelstaedt > Cc: freebsd-questions@freebsd.org > Subject: Re: The question about Broadcom BCM5721 ethernet adapter > integrated in motherboard, on PCIe and FreeBSD6.3 > > > (1) Thank you for answering! > (2) Do I correctly understand that from the OS's "point of view" there's > no difference between > Broadcom adapter being attached to PCI bus or to PCIe? Or am I wrong? > > Ted Mittelstaedt wrote: > > Yes. All of the Broadcom chips are the same and are supported > > by the bge driver. However, Broadcom and it's various motherboard > > customers seem to like to use different PCI id strings for the > > chip, and so you may find when you install it, that it does not > > detect the chip. A typical example of the problem is here: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/119779 > > > > and the fix, shown in this PR, is easy to implement. Basically, > > boot FreeBSD, if the chip isn't detected, run pciconf and take > > the output and patch the driver detection and you should be > > fine. > > > > Ted > > > > > >> -Original Message- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] Behalf Of Leonid > >> Satanovsky > >> Sent: Saturday, January 26, 2008 4:13 AM > >> To: freebsd-questions@freebsd.org > >> Subject: The question about Broadcom BCM5721 ethernet adapter > integrated > >> in motherboard, on PCIe and FreeBSD6.3 > >> > >> > >> Hi all! > >> > >> The question is: > >> > >> will FreeBSD 6.3 support Broadcom BCM5721 ethernet adapter > integrated in > >> motherboard (it's on PCIe bus) ? > >>The motherboard is ASUSTeK P5M2-M (RTL) > >> > >> > >> -- > >> > >> Best regards, > >> Leonid E. Satanovsky, > >> system administrator / __end__, > >> Ariel metal. > >> tel.: +7 495 786-42-90,981-41-45, add.: 341 > >> tel.: +7 495 786-43-03 > >> e-mail: [EMAIL PROTECTED] > >> http://www.arielmetal.ru > >> > >> ___ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "[EMAIL PROTECTED]" > >> > >> > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > > > > > -- > > Best regards, > Leonid E. Satanovsky, > system administrator / __end__, > Ariel metal. > tel.: +7 495 786-42-90,981-41-45, add.: 341 > tel.: +7 495 786-43-03 > e-mail: [EMAIL PROTECTED] > http://www.arielmetal.ru > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The question about Broadcom BCM5721 ethernet adapter integrated in motherboard, on PCIe and FreeBSD6.3
(1) Thank you for answering! (2) Do I correctly understand that from the OS's "point of view" there's no difference between Broadcom adapter being attached to PCI bus or to PCIe? Or am I wrong? Ted Mittelstaedt wrote: Yes. All of the Broadcom chips are the same and are supported by the bge driver. However, Broadcom and it's various motherboard customers seem to like to use different PCI id strings for the chip, and so you may find when you install it, that it does not detect the chip. A typical example of the problem is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/119779 and the fix, shown in this PR, is easy to implement. Basically, boot FreeBSD, if the chip isn't detected, run pciconf and take the output and patch the driver detection and you should be fine. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Leonid Satanovsky Sent: Saturday, January 26, 2008 4:13 AM To: freebsd-questions@freebsd.org Subject: The question about Broadcom BCM5721 ethernet adapter integrated in motherboard, on PCIe and FreeBSD6.3 Hi all! The question is: will FreeBSD 6.3 support Broadcom BCM5721 ethernet adapter integrated in motherboard (it's on PCIe bus) ? The motherboard is ASUSTeK P5M2-M (RTL) -- Best regards, Leonid E. Satanovsky, system administrator / __end__, Ariel metal. tel.: +7 495 786-42-90,981-41-45, add.: 341 tel.: +7 495 786-43-03 e-mail: [EMAIL PROTECTED] http://www.arielmetal.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Best regards, Leonid E. Satanovsky, system administrator / __end__, Ariel metal. tel.: +7 495 786-42-90,981-41-45, add.: 341 tel.: +7 495 786-43-03 e-mail: [EMAIL PROTECTED] http://www.arielmetal.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd openldap server tls error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave wrote: > Hello, >I'm setting up a FreeBSD openldap server for authentication. When i > added in tls parameters, the TLSCACertificateFile, TLSKeyFile, and > TLSCertificateFile now i am getting the below error. I've checked > permissions on the keys and they are globally readable. Any suggestions? > Thanks. > Dave. > > Jan 26 21:48:38 ldap slapd[43560]: main: TLS init def ctx failed: -1 Setting up TLS with OpenLDAP is tricky. Much trickier than it should be IMHO. Make sure the key file is *not* readable by other than the ldap process and that it isn't in a world writable directory. Use 'openssl s_client' to connect to the LDAPS port on your server and produce better debugging hints. Try asking on the [EMAIL PROTECTED] list for help: there are a lot more people that understand OpenLDAP there than on this list. Cheers, Matthew PS. If you want to use OpenLDAP as both client and server over TLS (eg. you're using syncrepl between a number of cloned OpenLDAP instances) then you really do need superior skills. OpenLDAP only understands one key+cert, so you have to fiddle with the 'Netscape Cert Type' field to make a cert that is usable for both client and server. Fun! - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHnFPH8Mjk52CukIwRCMfzAJ9+R6/fmnwpc52uk5Pa56LpIYVGPgCfSHnd Dyr6bs4kg378WoZZMA4AJU8= =9TIg -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Missing kernel configuration files
I had such mistake several days ago. In my case the reson was that I forgot that I`m usin amd64 arch, and I placed config to /usr/src/sys/i386/conf, but the right place was /usr/src/sys/amd64/conf PS: Ну если не говоришь ты хорошо по английски, то хоть не позорь родной союз :-). Тему письма надо указывать. JSCB Alokabank пишет: Please help me I'am beginer in FreeBSD I try to rebuild kernel files for optimizations system. Whate i gona do? sorry but i dont speake englash language wery well. look to include files this is my build kernel. I'am talk on russian. make buildkernel KERNCONF=KERNEL ERROR: Missing kernel configuration file(s) (KERNEL) *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src # Лидер бывает только один - UzNet www.uznet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: (no subject)
Hi, Have you read http://www.FreeBSD.org/doc/ru_RU.KOI8-R/books/handbook/kernelconfig.html ? I can't read russian, but you need chapter 8 in the handbook. -- Pieter Baele [EMAIL PROTECTED] On 27 Jan 2008, at 08:38, JSCB Alokabank wrote: Please help me I'am beginer in FreeBSD I try to rebuild kernel files for optimizations system. Whate i gona do? sorry but i dont speake englash language wery well. look to include files this is my build kernel. I'am talk on russian. make buildkernel KERNCONF=KERNEL ERROR: Missing kernel configuration file(s) (KERNEL) *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src # Лидер бывает только один - UzNet www.uznet.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Syslog warnings: 15 x No buffer space available
Probably you shoul look to: netstat -m 4/1421/1425 mbufs in use (current/cache/total) 0/614/614/25600 mbuf clusters in use (current/cache/total/max) netstat -Lan give you a link to good article. It`s in russian, but you can see it for commands and sysctl variables which may help you. http://www.opennet.ru/base/net/tune_freebsd.txt.html Anyone who could point me to how to remedy this? Thanks, --per ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(no subject)
Please help me I'am beginer in FreeBSD I try to rebuild kernel files for optimizations system. Whate i gona do? sorry but i dont speake englash language wery well. look to include files this is my build kernel. I'am talk on russian. make buildkernel KERNCONF=KERNEL ERROR: Missing kernel configuration file(s) (KERNEL) *** Error code 1 Stop in /usr/src *** Error code 1 Stop in /usr/src # Лидер бывает только один - UzNet www.uznet.net # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01 00:15:12 scottl Exp $ machine i386 cpu I686_CPU ident KERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols #optionsSCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_GPT# GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic# I/O APIC # Bus support. device eisa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives #device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #3devicempt # LSI-Logic MPT-Fusion #3devicencr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipset
Re: redundancy in domain or hostname ?
On Saturday 26 January 2008 06:36:11 pm Walter Jansen wrote: > The router connected to my server reports DNS inquiries like > "myserver.example.com.example.com" which obviously leads nowhere > > > > The server is in a SOHO situation connected to a router which is connected > to DSL; the server runs 6.3 Release and will serve as mailserver for the > few in-house employees and as a webserver. The domain "example.com" is > registered with Dyndns.org who also run the "Custom DNS service". The DNS > entries were checked with Dyndns.org staff and found in accordance with the > purpose. > > During installation of the server, the hostname "myserver.example.com" and > the domain name "example.com" were entered in the appropiate Sysinstall > dialog > > . > > /etc/hosts shows: > ::1 localhost.example.com localhost > > 127.0.0.1 localhost.example.com localhost > > 192.168.1.13myserver.example.com myserver > > 192.168.1.13myserver.example.com. > > > > 192.168.1.13 is allocated to the server by the DHCP of the router; this IP > address is fixed though!! > > > > > > Table /etc/resolv.com reads: > > > > domain example.com > > nameserver 192.168.1.1 (my router's IP address > > > > > > I postponed installation of Postfix and Apache as I feel that host- and > domainname should be configured correctly to prevent accumulating trouble. > > > > Remarks a most appreciated. > > > > -- Walter -- If memory serves the hostname in sysinstall is just the host part of the name, in your case myserver, and the domain part is example.com What does hostname think the hostname is? The other common case where you'll get this is forgetting a . in a BIND zone file, which causes it to append the domain name again -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB signature.asc Description: This is a digitally signed message part.
RE: formatting disk for FreeBSD : Detecting IDE Primary Master ... [Press F4 to skip]
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar > Sent: Sunday, January 27, 2008 12:15 AM > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org; Chris Whitehouse > Subject: Re: formatting disk for FreeBSD : Detecting IDE Primary Master > ... [Press F4 to skip] > > > > > > In any case, I suppose the OP could just use a floppy > > boot disk, like slackware's: > > > http://slackware.mirrors.easynews.com/linux/slackware/slackware/is > olinux/sbootmgr/ > > http://tinyurl.com/2evgaa > > Which should bypass any (most) moronic bioses. > > > any. i use bootable CD for this. very easy to create, and you can fit > whole /boot easily. > FreeBSD can use any IDE drive on any IDE controller, This isn't true. FreeBSD cannot use the CMD640 controller, as that controller has a hardware bug that will corrupt the filesystem. Unfortunately that controller was popular on Pentium 75/90/100 motherboards. The old wd disk driver contained a workaround for this bug but the workaround was never carried forward into the ata driver. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: formatting disk for FreeBSD : Detecting IDE Primary Master ... [Press F4 to skip]
In any case, I suppose the OP could just use a floppy boot disk, like slackware's: http://slackware.mirrors.easynews.com/linux/slackware/slackware/isolinux/sbootmgr/ http://tinyurl.com/2evgaa Which should bypass any (most) moronic bioses. any. i use bootable CD for this. very easy to create, and you can fit whole /boot easily. FreeBSD can use any IDE drive on any IDE controller, including 500GB drive on ISA 486, that's all just BIOS problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"