Re: Re: Pendrive detecting and mount script
thanks :) This is madness ! :) the mount_umass rocks, it's worth reading it. smonek wrote: Hello this is my script to auto mount pendrives / usbdrivs Script work ony with MSDOS fs Script detecting all partitions betewn a: and l: on sd0 ,sd1 ,sd2 ,sd3 First time you must run this script as a root or manula created /umass catalog and chmod 766 /umass www.0penbsd.pl/webs/download/mount_umass www.0penbsd.pl/webs/download/umount_umass Szymon Nowak www.0penbsd.pl www.0penbsd.pl/forum
Re: Re: Pendrive detecting and mount script
I now this is large script but When I will by have more time I rewrite this script and add mount ffs pendrive an support when Is other SCSI disk ( example on the servers ) sorry fo my english :) This is madness ! :) the mount_umass rocks, it's worth reading it. smonek wrote: Hello this is my script to auto mount pendrives / usbdrivs Script work ony with MSDOS fs Script detecting all partitions betewn a: and l: on sd0 ,sd1 ,sd2 ,sd3 First time you must run this script as a root or manula created /umass catalog and chmod 766 /umass www.0penbsd.pl/webs/download/mount_umass www.0penbsd.pl/webs/download/umount_umass Szymon Nowak www.0penbsd.pl www.0penbsd.pl/forum
Pendrive detecting and mount script
Hello this is my script to auto mount pendrives / usbdrivs Script work ony with MSDOS fs Script detecting all partitions betewn a: and l: on sd0 ,sd1 ,sd2 ,sd3 First time you must run this script as a root or manula created /umass catalog and chmod 766 /umass www.0penbsd.pl/webs/download/mount_umass www.0penbsd.pl/webs/download/umount_umass Szymon Nowak www.0penbsd.pl www.0penbsd.pl/forum
OpenBSD 4.1 + pptp client problem
Hello I have OpenBSD server VPN /router on OpenBSD 4.1 + Pf + poptop-1.1.4.b4p1 This server work ok (perfect) All Windows clients connected without any problems :-) But I have problem with connecting form OpenBSD 4.1 :-( I installed pptp-1.7.1 and sysctl net.inet.gre.allow=1 this is my /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command disable ipv6cp pptp: # pptp- ppp set device !/usr/local/sbin/pptp 83.16.208.84 --nolaunchpppd # set timeout 0 # set lqrperiod 5 set cd 5 set redial 30 # set authname tester set authkey test123 set dial set login # MPPE set mppe 128 stateless # MS-CHAP V2 accept MSChapV2 #LQR enable lqr # MSS MTU enable mssfixup # disable acfcomp protocomp deny acfcomp # add! default HISADDR Then I do: ppp -ddial pptp and ifconfig tun0 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 groups: tun egress inet 10.1.0.62 -- 10.1.0.1 netmask 0x ping 10.1.0.1 ping: sendto: No buffer space available ping: wrote 10.1.0.1 64 chars, ret=-1 ping: sendto: No buffer space available ping: wrote 10.1.0.1 64 chars, ret=-1 tcpdump -i tun0 13:36:36.460056 10.1.0.62 10.1.0.1: icmp: echo request 13:36:37.470066 10.1.0.62 10.1.0.1: icmp: echo request 13:36:38.360038 10.1.0.62.41667 83.16.208.84.pptp: S 3429645879:3429645879(0) win 16384 mss 1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 2547667706 0 13:36:38.480060 10.1.0.62 10.1.0.1: icmp: echo request ppp log Jul 9 13:36:32 MyBSD ppp[8850]: tun0: Warning: Carrier settings ignored Jul 9 13:36:51 MyBSD pptp[23396]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Jul 9 13:36:51 MyBSD ppp[8850]: tun0: Warning: Carrier settings ignored Jul 9 13:37:09 MyBSD pptp[31817]: anon warn[open_inetsock:pptp_callmgr.c:326]: connect: Connection timed out Jul 9 13:37:09 MyBSD pptp[31817]: anon fatal[callmgr_main:pptp_callmgr.c:124]: Could not open control connection to 83.18.208.84 Jul 9 13:37:10 MyBSD pptp[24975]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Jul 9 13:37:10 MyBSD ppp[8850]: tun0: Warning: Carrier settings ignored Jul 9 13:37:28 MyBSD pptp[11362]: anon warn[open_inetsock:pptp_callmgr.c:326]: connect: Connection timed out Jul 9 13:37:28 MyBSD pptp[11362]: anon fatal[callmgr_main:pptp_callmgr.c:124]: Could not open control connection to 83.16.208.84 Jul 9 13:37:29 MyBSD pptp[32119]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Jul 9 13:37:29 MyBSD ppp[8850]: tun0: Warning: Carrier settings ignored Jul 9 13:37:47 MyBSD pptp[20030]: anon warn[open_inetsock:pptp_callmgr.c:326]: connect: Connection timed out Jul 9 13:37:47 MyBSD pptp[20030]: anon fatal[callmgr_main:pptp_callmgr.c:124]: Could not open control connection to 83.16.208.84 Jul 9 13:37:49 MyBSD pptp[2565]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Jul 9 13:37:49 MyBSD ppp[8850]: tun0: Warning: Carrier settings ignored Jul 9 13:38:06 MyBSD pptp[8251]: anon warn[open_inetsock:pptp_callmgr.c:326]: connect: Connection timed out Jul 9 13:38:06 MyBSD pptp[8251]: anon fatal[callmgr_main:pptp_callmgr.c:124]: Could not open control connection to 83.16.208.84 Jul 9 13:38:08 MyBSD pptp[28051]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Jul 9 13:38:08 MyBSD ppp[8850]: tun0: Warning: Carrier settings ignored What it is ??? whay a cant connect to the server On my OpenBSD I don't have enable pf and any packet filter
how to clear dmesg outpout
How to clear kern msg buffer (dmesg output ) without restart system On FreeBSD i have 'sysctl kern.msgbuf_clear' bu OpenBSD don't have this options
Re: Re: how to clear dmesg outpout
WiadomoED Oryginalna Od: Timo Schoeler [EMAIL PROTECTED] Do: smonek [EMAIL PROTECTED] Data: 4 lipca 2007 16:00 Temat: Re: how to clear dmesg outpout Thus smonek [EMAIL PROTECTED] spake on Wed, 04 Jul 2007 15:50:52 +0200: How to clear kern msg buffer (dmesg output ) without restart system On FreeBSD i have 'sysctl kern.msgbuf_clear' bu OpenBSD don't have this options find a clean one here: /var/run/dmesg.boot HTH, Timo This now work
Re: Re: how to clear dmesg outpout
WiadomoED Oryginalna Od: Timo Schoeler [EMAIL PROTECTED] Do: smonek [EMAIL PROTECTED] Data: 4 lipca 2007 16:50 Temat: Re: how to clear dmesg outpout Thus smonek [EMAIL PROTECTED] spake on Wed, 04 Jul 2007 16:40:17 +0200: WiadomoE D Oryginalna Od: Timo Schoeler [EMAIL PROTECTED] Do: smonek [EMAIL PROTECTED] Data: 4 lipca 2007 16:00 Temat: Re: how to clear dmesg outpout Thus smonek [EMAIL PROTECTED] spake on Wed, 04 Jul 2007 15:50:52 +0200: How to clear kern msg buffer (dmesg output ) without restart system On FreeBSD i have 'sysctl kern.msgbuf_clear' bu OpenBSD don't have this options find a clean one here: /var/run/dmesg.boot HTH, Timo This now work cool! :) sorry not work :-(
How to make screenshot under console ?
How to make screenshot under console ? without X11 On FreeBSD is : vidcontrol -p /dev/ttyv0 shot.scr But OpenBSD haven't vidcontrol I use OpenBSD 4.1
PF VPN traffic doesnt work after update 4.0 to 4.1
After update OpenBSD 4.0 - 4.1 I cant connect to external vpn server from my lan behaind my OpenBSD firewall net.inet.gre.allow=1 net.inet.gre.wccp=1 net.inet.mobileip.allow=1 pf.conf ext_if=rl0 int_if=sis0 ext_ip1=83.15.206.82 pass in quick on $ext_if proto tcp from any to $ext_ip1 port = 1723 modulate state pass in quick on $ext_if proto gre from any to $ext_ip1 keep state pass out quick on $ext_if proto gre from $ext_ip1 to any keep state pfctl -ss all gre 83.15.206.82 - 83.17.92.139 NO_TRAFFIC:SINGLE all gre 83.17.92.139 - 10.0.0.35 NO_TRAFFIC:SINGLE all gre 10.0.0.35 - 83.17.92.139 SINGLE:NO_TRAFFIC all tcp 83.17.92.139:1723 - 10.0.0.35:2422 ESTABLISHED:ESTABLISHE all tcp 10.0.0.35:2422 - 83.15.206.82:53505 - 83.16.92.138:1723 ESTABLISHED:ESTABLISHED what it is
Re: PF VPN traffic doesnt work after update 4.0 to 4.1
Ok work with this config pass in quick on $ext_if proto gre from any to $ext_ip1 no state pass out quick on $ext_if proto gre from $ext_ip1 to any no state WiadomoED Oryginalna Od: smonek [EMAIL PROTECTED] Do: misc@openbsd.org Data: 16 maja 2007 22:16 Temat: PF VPN traffic doesnt work after update 4.0 to 4.1 After update OpenBSD 4.0 - 4.1 I cant connect to external vpn server from my lan behaind my OpenBSD firewall net.inet.gre.allow=1 net.inet.gre.wccp=1 net.inet.mobileip.allow=1 pf.conf ext_if=rl0 int_if=sis0 ext_ip1=83.15.206.82 pass in quick on $ext_if proto tcp from any to $ext_ip1 port = 1723 modulate state pass in quick on $ext_if proto gre from any to $ext_ip1 keep state pass out quick on $ext_if proto gre from $ext_ip1 to any keep state pfctl -ss all gre 83.15.206.82 - 83.17.92.139 NO_TRAFFIC:SINGLE all gre 83.17.92.139 - 10.0.0.35 NO_TRAFFIC:SINGLE all gre 10.0.0.35 - 83.17.92.139 SINGLE:NO_TRAFFIC all tcp 83.17.92.139:1723 - 10.0.0.35:2422 ESTABLISHED:ESTABLISHE all tcp 10.0.0.35:2422 - 83.15.206.82:53505 - 83.16.92.138:1723 ESTABLISHED:ESTABLISHED what it is
OpenBSD and antispam - question
I have lan ( 50 computers ) and router OpenBSD 4.0 / Pf I also have mail server ( external isp ) mailserver -internet-router-lan a need antispam gateway for my lan but i dont know who i can use with pf ( spamassisin / spamd pop3 proxy ? )
OpenBSD 3.8 GENERIC and sound problem
Hello , I have notebook - Asus A3L and I have problem with sound card dmsg: auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x3pci_intr_map: no mapping for pin B
I' searching job as OpenBSD admin
Hello I,m searching job as OpenBSD ( or other BSD systems / and also as Linux/Windows admin, it helpdesk ) I have 4 years - experience Location Edinburgh my english is not good but i'm still learning Contact [EMAIL PROTECTED] my website www.techexpo.aplus.pl
OpenBSD 3.7 Samba 2.2.12 problem with Roaming Profiles
OpenBSD 3.7 ( GENERIC ) Samba 2.2.12 + smb.conf PDC ( NT Active Directory ) I have a problem with Roaming Profiles ( client XP SP2 after reinstall ) My RProfiles are not updating (eg. Desktop backgrounds , font resize , colors etc.) but all data like files and folders are updating perfectly. I've checked many configurations files(smb.conf) but I don't know how to solve this problem. . [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of smonek.11308DEFANGED-vcf]
3.7 ,xdm and fluxbox
I install fluxbox on OpenBSD 3.7 . In My rc.conf I add xdm= and configured my Xsession file (/etc/X11/xdm/Xsession fi xterm fluxbox fi Fluxbox starting but no have background [demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of smonek.19337DEFANGED-vcf]
[no subject]
[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a name of smonek.16015DEFANGED-vcf]