From llouhevlyy at hotmail.com Fri Dec 5 16:33:21 2008 From: llouhevlyy at hotmail.com (Popcorn Crispeta) Date: Fri, 5 Dec 2008 16:33:21 +0100 Subject: misconfigured network card Message-ID: Greetings: I recently had a hard drive failure on a remote machine and had to reinstall OpenBSD 4.2. When copying the files over from my backup drive (backed up every evening) I somehow misconfigured my network card and now I can't even ping to the server. Using an LVM monitor I can see that all is well, but it's impossible for me to connect. Can anyone offer any suggestions? Thanks. _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20081205/ea7d9998/attachment.html From adam at akarsoft.com Fri Dec 5 17:26:51 2008 From: adam at akarsoft.com (D. Adam Karim) Date: Fri, 5 Dec 2008 08:26:51 -0800 Subject: misconfigured network card In-Reply-To: References: Message-ID: Can you post the hostname.if file? Also, the output of $(netstat -arn). --- D. Adam Karim Sent from my iPhone On Dec 5, 2008, at 7:33 AM, Popcorn Crispeta wrote: > Greetings: > > I recently had a hard drive failure on a remote machine and had to > reinstall OpenBSD 4.2. When copying the files over from my backup > drive (backed up every evening) I somehow misconfigured my network > card and now I can't even ping to the server. Using an LVM monitor I > can see that all is well, but it's impossible for me to connect. > > Can anyone offer any suggestions? > > Thanks. > > > Explore the seven wonders of the world Learn more! > _______________________________________________ > Openbsd-newbies mailing list > Openbsd-newbies at sfobug.org > http://mailman.theapt.org/listinfo/openbsd-newbies -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20081205/9c10f56d/attachment.html From tonino-pablo at lycos.com Sat Dec 6 09:39:58 2008 From: tonino-pablo at lycos.com (tonino-pablo) Date: Sat, 06 Dec 2008 03:39:58 -0500 (EST) Subject: bsd.mp Message-ID: <20081206033958.HM.0000000000004dF@tonino-pablo.mail-wwl12.bo3.lycos.com.lycos.com> An HTML attachment was scrubbed... URL: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20081206/f605022b/attachment.html From phessler at theapt.org Sat Dec 6 11:12:18 2008 From: phessler at theapt.org (Peter Hessler) Date: Sat, 6 Dec 2008 11:12:18 +0100 Subject: bsd.mp In-Reply-To: <20081206033958.HM.0000000000004dF@tonino-pablo.mail-wwl12.bo3.lycos.com.lycos.com> References: <20081206033958.HM.0000000000004dF@tonino-pablo.mail-wwl12.bo3.lycos.com.lycos.com> Message-ID: <20081206101218.GC8089@gir.theapt.org> you want to do `cp /bsd.mp /bsd`. By default, the bootloader loads /bsd. There is an option to change /etc/boot.conf, but I strongly recommend against that. After a while, you'll get used to how OpenBSD works, and be suprised when a new kernel isn't being loaded. On 2008 Dec 06 (Sat) at 03:39:58 -0500 (-0500), tonino-pablo wrote: : : Is it ok to do cp bsd.rd bsd.mp, or should I do mv bsd bsd.mp, what is : the best way to make .mp the default boot kernel? :_______________________________________________ :Openbsd-newbies mailing list :Openbsd-newbies at sfobug.org :http://mailman.theapt.org/listinfo/openbsd-newbies -- Good day to let down old friends who need help. From llouhevlyy at hotmail.com Thu Dec 11 17:30:53 2008 From: llouhevlyy at hotmail.com (Popcorn Crispeta) Date: Thu, 11 Dec 2008 17:30:53 +0100 Subject: misconfigured network card In-Reply-To: References: Message-ID: From: llouhevlyy at hotmail.com To: adam at akarsoft.com Subject: RE: misconfigured network card Date: Thu, 11 Dec 2008 17:28:26 +0100 I wrote: ?Greetings: I recently had a hard drive failure on a remote machine and had to reinstall OpenBSD 4.2. When copying the files over from my backup drive (backed up every evening) I somehow misconfigured my network card and now I can't even ping to the server. Using an LVM monitor I can see that all is well, but it's impossible for me to connect. Can anyone offer any suggestions?? Adam answered: >From: adam at akarsoft.com >Can you post the hostname.if file? $ less /etc/hostname.rl0 inet 69.94.110.70 255.255.248.0 NONE >Also, the output of $(netstat -arn). $ netstat -arn Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default 69.94.104.1 UGS 38 8462842 - rl0 69.94.104/21 link#1 UC 3 0 - rl0 69.94.104.1 00:00:0c:07:ac:d5 UHLc 2 0 - rl0 69.94.104.3 00:17:e0:f9:ba:3f UHLc 0 0 - rl0 69.94.110.70 00:15:58:be:b1:6c UHLc 0 4600 - lo0 127/8 127.0.0.1 UGRS 0 0 33208 lo0 127.0.0.1 127.0.0.1 UH 2 611858 33208 lo0 208.98.1.156 69.94.104.1 UGHD 0 8457558 - L rl0 224/4 127.0.0.1 URS 0 0 33208 lo0 Internet6: Destination Gateway Flags Refs Use Mtu Interfac e ::/104 ::1 UGRS 0 0 - lo0 ::/96 ::1 UGRS 0 0 - lo0 ::1 ::1 UH 14 135213 33208 lo0 ::127.0.0.0/104 ::1 UGRS 0 0 - lo0 ::224.0.0.0/100 ::1 UGRS 0 0 - lo0 ::255.0.0.0/104 ::1 UGRS 0 0 - lo0 ::ffff:0.0.0.0/96 ::1 UGRS 0 0 - lo0 2002::/24 ::1 UGRS 0 0 - lo0 2002:7f00::/24 ::1 UGRS 0 0 - lo0 2002:e000::/20 ::1 UGRS 0 0 - lo0 2002:ff00::/24 ::1 UGRS 0 0 - lo0 fe80::/10 ::1 UGRS 0 0 - lo0 fe80::%rl0/64 link#1 UC 0 0 - rl0 fe80::215:58ff:febe:b16c%rl0 00:15:58:be:b1:6c UHL 0 0 - lo0 fe80::%lo0/64 fe80::1%lo0 U 0 0 - lo0 fe80::1%lo0 link#3 UHL 0 0 - lo0 fec0::/10 ::1 UGRS 0 0 - lo0 ff01::/16 ::1 UGRS 0 0 - lo0 ff01::%rl0/32 link#1 UC 0 0 - rl0 ff01::%lo0/32 ::1 UC 0 0 - lo0 ff02::/16 ::1 UGRS 0 0 - lo0 ff02::%rl0/32 link#1 UC 0 0 - rl0 ff02::%lo0/32 ::1 UC 0 0 - lo0 $ My apologies for not having responded sooner, but I've been desperately trying to remount this server. It seems that simply by copying the entire contents of /usr/local/bin from the backup drive to the main drive, I rendered my box unconnectable. It would boot, and I could see that it was up, but I couldn't even ping it. Now everything is back to normal, and the netstat reading above is from the properly running machine. I also now know better than to indiscriminately copy files from the backup drive to the main drive. But I am really curious to know what it was I did to incapicitate my network card. The folks where I rent my dedicated server were kind and helpful, but unfortunately unfamiliar with OpenBSD. Thanks again. Lou ---D. Adam Karim Sent from my iPhone On Dec 5, 2008, at 7:33 AM, Popcorn Crispeta wrote: Greetings: I recently had a hard drive failure on a remote machine and had to reinstall OpenBSD 4.2. When copying the files over from my backup drive (backed up every evening) I somehow misconfigured my network card and now I can't even ping to the server. Using an LVM monitor I can see that all is well, but it's impossible for me to connect. Can anyone offer any suggestions? Thanks. Explore the seven wonders of the world Learn more! _______________________________________________ Openbsd-newbies mailing list Openbsd-newbies at sfobug.org http://mailman.theapt.org/listinfo/openbsd-newbies Explore the seven wonders of the world Learn more! _________________________________________________________________ Connect to the next generation of MSN Messenger? http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20081211/a55223a2/attachment-0001.html From ciurdar at hotmail.com Sat Dec 13 21:35:03 2008 From: ciurdar at hotmail.com (Szilveszter Ciurdar) Date: Sat, 13 Dec 2008 15:35:03 -0500 Subject: OpenVPN SSL error with CA Message-ID: <1229200503.14013.1289896303@webmail.messagingengine.com> Does anyone have any experience on the client end for getting OpenVPN to work? The senior admin gave me the required key files. ca.crt my.crt my.key client.conf I installed openvpn and lzo from packages and when I tried #openvpn --config it didn't work. The directory was not in my $PATH so I had to specify /usr/local/sbin/openvpn --config /etc/openvpn/client.conf I also get this OpenSSL error that I can't figure out how to fix: 'Cannot load CA certificate file /etc/ssl/ca.crt path (null) (SSL_CTX_load_verify_locations) (OpenSSL)' I made sure that client.conf points to where I put the key and cert. I put everything under /etc/openvpn. Is this the right place? Thanks for your help! From soc at visca.com Mon Dec 15 11:36:08 2008 From: soc at visca.com (soc at visca.com) Date: Mon, 15 Dec 2008 11:36:08 +0100 Subject: writing to routing socket: No such process Message-ID: <5.1.0.14.2.20081215111752.01ffce60@69.94.110.70> Greetings: My problem is I can't get connected to the Internet using a wifi card. On a fresh install of OpenBSD 4.2 i created a hostname.ath0 file to configure my Atheros AR5212 network card: up media autoselect mode llb mediaopt hostap chan 1 nwid WLAN18590 nwkey 0x5353535353535 inet 192.168.0.10 255.255.255.0 NONE `ifconfig ath0` shows its status as active. netstat -nr shows: 192.168.0/24 link#1 UC 0 0 - ath0 My router address is 192.168.2.1 and I have put this in /etc/mygate But `route get 192.168.2.1` returns: route: writing to routing socket: No such process Any clues would be appreciated. -- All the best (Ad?u-siau), Lou Hevly soc at visca.com http://visca.com From ciurdar at hotmail.com Tue Dec 16 16:58:54 2008 From: ciurdar at hotmail.com (Szilveszter Ciurdar) Date: Tue, 16 Dec 2008 10:58:54 -0500 Subject: OpenVPN SSL error with CA In-Reply-To: <1229200503.14013.1289896303@webmail.messagingengine.com> References: <1229200503.14013.1289896303@webmail.messagingengine.com> Message-ID: <1229443134.13323.1290359703@webmail.messagingengine.com> I did not have the right ca.crt file. In addition, it was a compressed archive with a missing extension which I found out by running the 'file' command. To list the files in a compressed archive, don't forget to include the z (or Z) switch: prompt$ tar tzf openvpn_keys.tar.gz ..... The ca.crt file should be plaintext with ---Begin Certificate---<...>---End Certificate--- Problem solved. On Sat, 13 Dec 2008 15:35:03 -0500, "Szilveszter Ciurdar" said: > Does anyone have any experience on the client end for getting OpenVPN to > work? The senior admin gave me the required key files. > > ca.crt > my.crt > my.key > client.conf > > I installed openvpn and lzo from packages and when I tried #openvpn > --config it didn't work. > > The directory was not in my $PATH so I had to specify > /usr/local/sbin/openvpn --config /etc/openvpn/client.conf > > I also get this OpenSSL error that I can't figure out how to fix: > > 'Cannot load CA certificate file /etc/ssl/ca.crt path (null) > (SSL_CTX_load_verify_locations) (OpenSSL)' > > I made sure that client.conf points to where I put the key and cert. I > put everything under /etc/openvpn. Is this the right place? > > Thanks for your help! > > > From firelan at gmail.com Fri Dec 19 02:33:07 2008 From: firelan at gmail.com (HDC) Date: Thu, 18 Dec 2008 23:33:07 -0200 Subject: Fwd: Dual-Head on Dell Inspiron 1525 - Intel GM965/GL960 Graphics Controller In-Reply-To: <5ca35d40812122015j42060387p901fb717370a2c8e@mail.gmail.com> References: <5ca35d40812122015j42060387p901fb717370a2c8e@mail.gmail.com> Message-ID: <5ca35d40812181733w2d819ce7m7b289cec50846c45@mail.gmail.com> Hi, I need use Dual-Head on my laptop, but is no possible switch between the laptop display and the external LCD monitor. my tests: - Push the FN+F8 Button (to switch display), don't work after load the S.O. (yes before) - Use xrandr, this app only show information about the display selected (before load the S.O.), but no of the "other" display. - Google, google and more google. - a lot of modification on my xorg.conf. I attach the dmesg and the xorg.conf. Any suggestion? Greetings, Hern?n -- # /dev/hdc -> OpenBSDeros.org hdc [at] openbsderos [dot] org -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dmesg.txt Url: http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20081218/cc67bf8c/attachment.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: xorg.conf Type: application/octet-stream Size: 2135 bytes Desc: not available Url : http://mailman.theapt.org/pipermail/openbsd-newbies/attachments/20081218/cc67bf8c/attachment.obj From fbax at sympatico.ca Fri Dec 19 04:52:10 2008 From: fbax at sympatico.ca (Frank Bax) Date: Thu, 18 Dec 2008 22:52:10 -0500 Subject: spamd and pf.conf Message-ID: <494B1A6A.6070201@sympatico.ca> I'm looking at a very old pf.conf that hasn't changed in several years. ext_if="vr0" in_mx="127.0.0.1" table persist table persist table persist scrub in rdr pass on $ext_if proto tcp from to port smtp \ -> $in_mx port smtp rdr pass on $ext_if proto tcp from to port smtp \ -> 127.0.0.1 port spamd rdr pass on $ext_if proto tcp from to port smtp \ -> $in_mx port smtp rdr pass on $ext_if proto tcp from ! to port smtp \ -> 127.0.0.1 port spamd pass in log on $ext_if proto tcp to ($ext_if) port smtp keep state pass out log on $ext_if proto tcp from ($ext_if) to port smtp keep state I notice that the default pf.conf of 4.4 contains some examples that look similar but not quite the same as what I have. Should my rules be changed? Frank