Re: Authentication with SSH using public keys
Andrew Falanga writes: >> >> >debug1: Authentications that can continue: publickey,keyboard-interactive >> >debug1: Next authentication method: publickey >> >debug1: Trying private key: /home/andy/.ssh/identity >> >debug1: Offering public key: /home/andy/.ssh/id_rsa >> >debug2: we sent a publickey packet, wait for reply >> >debug1: Authentications that can continue: publickey,keyboard-interactive >> >> It seems OpenSSH (on your dad's box) hasn't recognized your private key, so >> how about checking permissions of ~/.ssh/authorized_keys and ~/.ssh on his >> box. Or how about enabling verbose logging on his box, using 'LogLevel' >> parameter in sshd_config. >> >> HTH >> Ashish Shukla > Following onto the e-mail I made before, apparently that little permissions > difference for the directory, .ssh, was the problem. Changing it to 644 has, > apparently, fixed the problem. Cool :) . I learnt this from my first SSH public-key authentication configuration ;) Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgp4Immu00LG0.pgp Description: PGP signature
Re: Using packages compiled for 7.0-RELEASE in 8-CURRENT
RW writes: > On Wed, 22 Oct 2008 00:09:05 +0530 > [EMAIL PROTECTED] (Ashish Shukla ___) wrote: >> Hi all, >> >> I'm having a confusion about installing packages compiled in >> 7.0-RELEASE in 8.0-CURRENT. I've 2 boxen, a 7.0-RELEASE-p5 and a >> 8-CURRENT. The 7.0-RELEASE-p5 is fully updated as of now, and has all >> updated ports available in the form of binary packages. Now, I'm >> wondering if it is okay to install those binary packages on my >> 8-CURRENT box. > There's no compat7x port to support 7.x packages on CURRENT. Oh, so iif there is some compat7x port on my 8.0-CURRENT box, then only I can use 7.0-RELEASE packages. Thanks for the reply. Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpmJwkTrIbhn.pgp Description: PGP signature
Using packages compiled for 7.0-RELEASE in 8-CURRENT
Hi all, I'm having a confusion about installing packages compiled in 7.0-RELEASE in 8.0-CURRENT. I've 2 boxen, a 7.0-RELEASE-p5 and a 8-CURRENT. The 7.0-RELEASE-p5 is fully updated as of now, and has all updated ports available in the form of binary packages. Now, I'm wondering if it is okay to install those binary packages on my 8-CURRENT box. Has anyone tried this ? And what kind of issues you experienced. Issues to dependencies on libraries in base install, hmm...? Thanks in advance, Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpwsz60gf20h.pgp Description: PGP signature
Re: Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Chris St Denis writes: [...] > I had a problem like this trying to mount ext2. The problem was it > needed to be fscked (unclean shutdown). You'll need to install > ports/sysutils/e2fsprogs to fsck it under FreeBSD. Thanks for the reply, but I'm wondering if I fsck it in GNU/Linux, will that make any difference to it, since e2fsprogs is same ? BtW, it got fscked around 5-10 times (after every n mounts). Though, I will explicitly initiate the fsck this time, and will report back any issues I came across. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp8RSkodfGAP.pgp Description: PGP signature
Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Hi, I'm running FreeBSD 7.0-RELEASE-p3 (amd64). I've two ext3 partitions on my disk which I want to be able to access (read-only) from my FreeBSD installation. But I can only access one of them (with no issues), though I'm able to mount both of them fine in my FreeBSD and GNU/Linux. Those filesystems are fsck-ed regularly after every n mounts. I'm experiencing this since I installed GNU/Linux on that partition. 8<8< % fgrep gentoo-root /etc/fstab /dev/ad6s2 /mnt/gentoo-rootext2fs ro,noauto 0 0 % sudo mount /mnt/gentoo-root % mount |fgrep gentoo /dev/ad6s2 on /mnt/gentoo-root (ext2fs, local, read-only) % ls -l /mnt/gentoo-root ls: /mnt/gentoo-root: Bad file descriptor % sudo umount /mnt/gentoo-root % ls -ld /mnt/gentoo-root drwxr-xr-x 2 root wheel 512 Jun 8 23:24 /mnt/gentoo-root >8>8 There are no errors (or messages) reported in dmesg. Any ideas how to troubleshoot this ? I don't want to degrade my filesystem from ext3 to ext2. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpkENmP1lS2Z.pgp Description: PGP signature
Re: ipv6 portsnap servers
Chuck Swiger writes: > On Aug 17, 2008, at 11:10 PM, R Dicaire wrote: >> Hi folks, I searched google and this mailing list and could find no >> specific mention of ipv6 support for portsnap. I also checked for >> records for the three portsnap mirrors portsnap1, 2, and >> 4.freebsd.org, no . >> I have an ipv6 only install, and wondering what other means I can use >> to maintain ports via ipv6. > Obtain IPv4 connectivity? Very few of the FTP/HTTP servers providing > ports source tarballs are going to be IPv6 only... OR use csup for updating ports. There're few cvsup servers at least. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpCMOfHPA4r9.pgp Description: PGP signature
Re: Kernel mode PPPoE or User mode PPPoE
RW writes: > On Sat, 19 Jul 2008 19:14:40 +0530 > ___ Ashish Shukla <[EMAIL PROTECTED]> wrote: >> Hi >> >> I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE. >> I'm following the handbook[1] to setup my PPPoE interface. Is there >> any way I can figure out this ? > If you are starting it from the standard rc.d script, you are using > user ppp. > I think kernel ppp is a legacy feature that was used before the > kernel supported tun interfaces. I don't know of any reason for still > using it. Won't you get any speed improvements with PPP connection in kernel-mode PPP as compared to user-mode PPP ? > IIRC with kernel ppp you run pppd (note the d) as root, and the > interface shows-up as ppp0; with user ppp, you run ppp as any user, > and the interface shows-up as tun0. I use 'ppp -ddial my-adsl-provider' and it creates a 'tun0' interface. So this means I'm doing user-mode PPP. Thanks Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpGvPds48tpW.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | On Monday 30 June 2008, Ashish Shukla आशीष शुक्ल wrote: || Did you mean your setup stopped working after you compiled new kernel, || hmm...? | Yes. Unfortunately, I'm not sure exactly when it happened. I saw an | article on Slashdot about IPv6, went to look at my maillog to see how much | traffic I'd been getting, and found none. | So back to my original post: take this as a heads-up. Anyone who had a | setup like mine that suddenly stopped working might be able to fix it by | updating their defaultrouter. Okay, thanks for the info. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpIPIAY2FiM1.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | On Sunday 29 June 2008, Ashish Shukla आशीष शुक्ल wrote: || I think how without specifying zone index[1] in link-local address || worked, it is probably due to availability of only single inet6 || interface except lo0. | The physical and virtual interfaces on the system are exactly as before. | I'm guessing that my setup worked as a side effect of a now-fixed bug, | probably the same one that was preventing me from using the 2001: | defaultrouter when I first got the system up and running. Did you mean your setup stopped working after you compiled new kernel, hmm...? || Just wanted to confirm, is following command worked ? if possible paste || the output: || || % ping6 fe80::213:10ff:fe79:137a | $ ping6 fe80::213:10ff:fe79:137a | ping6: UDP connect: Network is unreachable Yes, this is the expected behavior. Ashish -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpgB8LucLOXT.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | Ashish Shukla ? wrote: || | ipv6_ifconfig_fxp0="2001:470:a80a:1:2d0:b7ff:fe0e:3a4a prefixlen || | 64" || | ipv6_defaultrouter="fe80::213:10ff:fe79:137a" || I don't know how is above ipv6_defaultrouter setting is working, since || above is a link-local address, and you've not specified any explicit || link in above fe80::/10 address. BtW, did you recently changed your || configuration ? Is this same setting working since you started using || IPv6 on your FreeBSD host, hmm..? | That configuration has been working, unchanged, for a few months | now. Until recently it used the fxp0 interface, as evidenced by the | fact that it actually worked. :-) || Are you trying to ping6 a link-local address, without any mention of || interface, hmm...? | Again, it worked. If it hadn't, I would have kept messing with it | until it did. I host web and mail on that host's IPv6 address and | was very keen in getting it up and running. I think how without specifying zone index[1] in link-local address worked, it is probably due to availability of only single inet6 interface except lo0. Just wanted to confirm, is following command worked ? if possible paste the output: % ping6 fe80::213:10ff:fe79:137a Reference: [1] - http://en.wikipedia.org/wiki/IPv6#Zone_indices Regards -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpA3KJWYxyN6.pgp Description: PGP signature
Re: Postfix logging some OTP related permission denied messages
,--- Michael Powell writes: | आशीष शुक्ल Ashish Shukla wrote: || Hi, || || I'm running 7.0-RELEASE-p2 (amd64). I'm running Postfix 2.5.1_2,1 mail || server instead of the default Sendmail which ships with base distribution. || || My mail server is working fine with no issues except that I noticed that || some messages in /var/log/messages: || | 8>8 || Jun 29 03:12:45 chateau postfix/smtpd[1159]: OTP unavailable because can't || read/write key database /etc/opiekeys: Permission denied Jun 29 03:18:22 || chateau postfix/smtpd[1535]: OTP unavailable because can't read/write key || database /etc/opiekeys: Permission denied Jun 29 03:23:55 chateau || postfix/smtpd[1873]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied Jun 29 04:18:25 chateau || postfix/smtpd[78118]: OTP unavailable because can't read/write key || database /etc/opiekeys: Permission denied Jun 29 16:07:11 chateau || postfix/smtpd[1712]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied Jun 29 16:07:17 chateau || postfix/smtpd[1712]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied Jun 29 16:13:30 chateau || postfix/smtpd[2125]: OTP unavailable because can't read/write key database || /etc/opiekeys: Permission denied 8<8< || || I've not done anything explicitly to turn on support for One-time || passwords in my system. || || Any ideas, reasons behind these messages ? || || TIA | Greetings: | I've seen some suggestions which involve making changes for allowing the | access to the files, but my thoughts are if you are not making use of this | feature this would be tantamount to a small form of security violation. | The shortcut is probably just to give the group 'mail' rw permissions to | opiekeys and don't overly muck with a config that works correctly. | If when you installed Postfix it installed cyrus-sasl as a dependency you | might try going into /usr/ports/security/cyrus-sasl2 and doing make config | and clearing the checkbox option near the bottom "OTP Enable OTP auth", | then make deinstall, and make reinstall. Reinstall cyrus-sasl2 without OTP support worked, and now no more OTP related messages. | -Mike Thanks :) -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpByMxNcNFFY.pgp Description: PGP signature
Re: Change in /etc/rc.conf:ipv6_defaultrouter
,--- Kirk Strauser writes: | I've been using IPv6 on my FreeBSD-7 host for quite some time. My | IPv6 router is a different machine, so the FreeBSD server is just a | regular host on the network. | This morning I discovered that I couldn't pass packets to hosts | outside my LAN from FreeBSD, although an OS X host on the same LAN had | no problems pinging www.kame.net. | I had this in my /etc/rc.conf: | ipv6_ifconfig_fxp0="2001:470:a80a:1:2d0:b7ff:fe0e:3a4a prefixlen | 64" | ipv6_defaultrouter="fe80::213:10ff:fe79:137a" I don't know how is above ipv6_defaultrouter setting is working, since above is a link-local address, and you've not specified any explicit link in above fe80::/10 address. BtW, did you recently changed your configuration ? Is this same setting working since you started using IPv6 on your FreeBSD host, hmm..? | Whenever I'd try to ping6 my local router, I'd get: | ping6: UDP connect: Network is unreachable Are you trying to ping6 a link-local address, without any mention of interface, hmm...? | Also, the routing table seemed a bit screwy and was sending everything | to lo0: | $ netstat -nr -f inet6 | [...] | default fe80::213:10ff:fe79:137a UGS | lo0 | I found two workarounds: | ipv6_defaultrouter="2001:470:a80a:1::1" I think above solution is better. -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpr1InEzQQbE.pgp Description: PGP signature
Re: usb mouse is detected by fbsd 7 but not X
,--- Chip writes: | Just installed FBSD 7, after being gone from FBSD the last 3 | years. During boot I see that the mouse is detected as ums0, but | cannot get it to work in X11. I cannot find any xorg.conf. or | xorg.conf.new files. I have gnome installed and working, so I know X | is working properly. Any suggestions on the usb mouse? When you plugin your USB mouse, is any moused corresponding to ums0 gets started, hmm...: >8>8 abbe [~] monte-cristo% ps -A |grep moused |grep ums0 1280 ?? Ss 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 8<8< If not, then make sure you've moused is enabled in your /etc/rc.conf. If yes, then create an xorg.conf using Xorg -configure and make sure it has following into it: >8>8 Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"SysMouse" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "SysMouse" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection >8>8 HTH -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpU237yxoeXn.pgp Description: PGP signature
Re: Using gjournal + gmirror on 7.0-RELEASE-p1 (amd64) server
>>>>> "Manolis" == Manolis Kiagias <[EMAIL PROTECTED]> writes: Manolis> Ashish Shukla आशीष शुक्ल wrote: [snip] >> And, if I go for gjournal, since I've an existing filesystem, I've to >> create a separate gjournal slice, so is it okay to create that gjournal >> slice on a non-gmirror backed storage, hmm...? Manolis> You should keep in mind that the space required for the journal Manolis> depends on the usage load and not the size of the data provider. In Manolis> other words, if you are using the default 1Gb journal size on your Manolis> desktop, it may not be enough for a busy server. Okay. Manolis> I've used gjournal+gmirror on a machine - not anything really heavy Manolis> loaded, but it has given me no problems. I first created the journals, Manolis> and the gmirror-ed the entire disk. It works as you should expect. I Manolis> have not tried creating the journal on a non-mirrored storage. I Manolis> suppose this would work too, but I have no idea how safe it would be. I'll also opt for journal on mirrored storage, which is the same storage device as data provider. Thanks for the reply -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp9kFB64l6qz.pgp Description: PGP signature
Using gjournal + gmirror on 7.0-RELEASE-p1 (amd64) server
Hi list, I've two Intel Xeon dual core-based servers running 7.0-RELEASE-p1 (amd64). Those servers are running a software raid-1 using geom_gmirror. Today, when I rebooted them twice with 'reboot' command, raid-1 running on both servers got degraded to 0% + filesystem check resulted in 4-5 lost non-critical files. Later I found out that 'reboot' is not a recommended way to reboot a system, and I should use 'shutdown -r now'. Anyways, I'm thinking to use gjournal (in addition to gmirror) on both servers to avoid such situation in future. I'm already using gjournal on my desktop (with no gmirror) running FreeBSD 7.0-RELEASE-p1 (amd64), with no issues. So, I wanted to know if gjournal + gmirror combo is stable enough to be used on a servers. And, if I go for gjournal, since I've an existing filesystem, I've to create a separate gjournal slice, so is it okay to create that gjournal slice on a non-gmirror backed storage, hmm...? TIA -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpj6V55JmrrZ.pgp Description: PGP signature
Re: anti-aliased fonts
>>>>> Girish Kulkarni writes: Girish> Hi, Hi, [snip] Girish> Although I succeeded in getting the effect on the GNOME panels and Girish> other GTK applications, some applications like Firefox and rxvt seem Girish> to be having problems with anti-aliasing. I have kept a sample on the Girish> web to show how terrible this looks [2]. How do I achieve Girish> anti-aliasing in these applications, especially in Firefox? (I have Girish> several---Truetype or otherwise---fonts available and fp is set up Girish> suitably.) Search for "FireFox" in this blog post[1] Girish> -- Girish> Girish Kulkarni - Allahabad, India - http://girish.50webs.com You might like to join bsd-india[2] list[3]. References: [1] - http://netbuzzme.blogspot.com/2006/01/freebsd-is-really-cool.html [2] - http://www.bsd-india.org/ [3] - http://www.bsd-india.org/mailman/listinfo/bsd-india HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpKVnwWSpIMA.pgp Description: PGP signature
Re: Very slow xfce
>>>>> Nishita Desai writes: Nishita> Okay, I didn't see this earlier. Nishita> [drm] failed to load kernel module "i915" Nishita> (EE) [drm] drmOpen failed. Nishita> (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Nishita> I have dri-7.0.3_1,2 installed DRI support for 965G in FreeBSD is available in CVS, and I'm using that with no issues. I've not checked-out complete tree only the 'src/sys/dev/drm' directory. 1. Backup /usr/src/sys/dev/drm somewhere . 2. Check out ':pserver:[EMAIL PROTECTED]:/home/ncvs/src/sys/dev/drm' using cvs and place the checked-out 'drm' at /usr/src/sys/dev . 3. Now compile again drm module by executing: # make -C /usr/src/sys/modules/drm all install HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpt3d2FBYZCA.pgp Description: PGP signature
Re: X on Intel GM965 chipset
>>>>> Nishita Desai writes: Nishita> On Fri, May 16, 2008 at 11:04 PM, Dominic Fandrey <[EMAIL PROTECTED]> wrote: >> You only need xf86-video-intel and enter "intel" as the Driver in your >> xorg.conf. I'm running a GM965 at 1440x900 this way. >> >> I even think that x11-video-i810 and xf86-video-intel conflict. So best >> deinstall both and only install xf86-video-intel afterwards. Nishita> I cannot pkg_delete nor pkg_deinstall xf86-video-i810. Here's the error: Nishita> -- Nishita> pkg_delete: package 'xf86-video-i810-1.7.4' is required by these other packages Nishita> and may not be deinstalled: Nishita> xorg-7.3_1 Nishita> -- pkg_delete -f xf86-video-i810-1.7.4 ? or make -C /usr/ports/x11-drivers/xf86-video-i810 deinstall ? -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp1EXlmJfbj3.pgp Description: PGP signature
Re: X on Intel GM965 chipset
>>>>> Nishita Desai writes: Nishita> Hello, Nishita> I just installed FreeBSD 7.0 on a Dell Vostro 1200. It has Intel's Nishita> GM965 chipset and I cannot get X to work at the right resolution of Nishita> 1280x800. Nishita> I updated and reinstalled the x11-drivers/x11-video-i810 and Nishita> x11-drivers/x11-intel ports. But X still dies whenever I tell it to Nishita> use "i810" driver. I am using vesa which gives me 1024x786. Dies with what error ? paste /var/log/Xorg.0.log. BtW, 1280x800 is a widescreen resolution and to get that you might need to patch your BIOS at runtime using '915resolution' port. Nishita> The following two places suggest that FreeBSD 7.0 supports GM965 chipsets: Nishita> [1] http://lists.freebsd.org/pipermail/cvs-src/2007-July/080677.html Nishita> [2] http://en.wikipedia.org/wiki/Intel_GMA Nishita> What should I do to get the proper drivers and get X working? Following is my xorg.conf, and I've DRI working on my Intel G965 laptop. 8<8< Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Touchpad0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/local/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" Load "synaptics" EndSection Section "ServerFlags" Option "AllowEmptyInput" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psm0" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Touchpad0" Driver "synaptics" Option "Device" "/dev/psm0" Option "Protocol" "alps" Option "SHMConfig" "on" Option "LeftEdge" "130" Option "RightEdge" "840" Option "TopEdge" "130" Option "BottomEdge" "640" Option "FingerLow" "7" Option "FingerHigh" "8" Option "MaxTapTime" "180" Option "MinTapTime" "110" Option "ClickTime" "0" Option "EmulateMidButtonTime" "75" Option "VertScrollDelta" "20" Option "HorizScrollDelta" "20" Option "MinSpeed" "0.40" Option "MaxSpeed" "0.65" Option "AccelFactor" "0.030" Option "EdgeMotionMinSpeed" "200" Option "EdgeMotionMaxSpeed" "200" Option "UpDownScrolling" "1" Option "CircularScrolling" "1" Option "CircScrollDelta" "0.1" Option "CircScrollTrigger" "3" Option "VertEdgeScroll" "on" Option "Emulate3Buttons" "on" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName"Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile GM965/GL960 Integrated Graphics Controller" BusID "PCI:0:2:0&quo
Re: root login stops working
>>>>> "Dennis" == Dennis Flynn <[EMAIL PROTECTED]> writes: Dennis> I'm running FreeBSD wx.dennis-flynn.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Dennis> About a day after install root login no longer works - even on the console. Dennis> I see the following in /var/log/auth.log: Dennis> May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 Dennis> May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: Dennis> And in /var/log/messages: Dennis> May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) Looks like your shell segfaulted during login., resulting in your ssh session being aborted. How about booting in single user mode ? And does your installation underwent any filesystem recovery ? You can try reinstalling csh from freebsd installation disc, and then try. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp8PMVqKztWi.pgp Description: PGP signature
Re: New to FreeBSD issues with multicast DNS.
>>>>> Joe Dunn writes: Joe> Hi All, Joe> I'm new to FreeBSD, but I am running into an issue I can't seem to solve Joe> after a few days. Joe> I have a FreeBSD 7.0 amd64 set up. I installed mt-daapd/avahi from ports. Joe> For some reason, I can see the share on the fileserver but not on the Joe> network. Its like everything just stops when it get to the em0 (interface Joe> plugged into the switch). Joe> I can browse multicast dns locally as seen below Joe> [EMAIL PROTECTED] /usr/ports]# avahi-browse _daap._tcp Joe> + em0 IPv4 freebsd _daap._tcp local I didn't use Mac. I've a FreeBSD 7.0-RELEASE (amd64) + Ubuntu Linux 8.04 (development/amd64) network at my place. How about doing host name resolution over mDNS using avahi-resolve-host-name or similar utility in your Mac ? Also, start a tcpdump on em0 at FreeBSD end, to see if it receives any mDNS request ? It also works, when any Windows box running Bonjour service, joins the network. [snip] Joe> mbp:~ jdunn$ mDNS -B _daap._tcp Joe> Browsing for _daap._tcp Joe> Talking to DNS SD Daemon at Mach port 4099 Joe> If i have itunes running on either of my macs it shows up during this Joe> request. Does you iTunes also show up on FreeBSD end, hmm..? HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpwG1QEhgrC8.pgp Description: PGP signature
Re: Libnet in FreeBSD
>>>>> Bhuvaneswari Ramkumar writes: Bhuvaneswari> well actually, even the sample applications seem to have the same problem, Bhuvaneswari> So I'm guessing its some installation issue: Bhuvaneswari> # cc dns.c Bhuvaneswari> /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : : undefined Bhuvaneswari> reference to 'libnet_init' Probably you need to add '-lnet' to your command line to include libnet's libraries during linking. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· pgprcDkYUNvNv.pgp Description: PGP signature
Re: xterm question
>>>>> swell k writes: swell> Chris Whitehouse <[EMAIL PROTECTED]> writes: >> it's a stupid little question really but I have an xterm filled with a >> log file (telnetted into another machine) which is scrolled off the >> screen. How do I select all the text in one go? I only seem to be able >> to select the visible screenful, copy, paste into text file, scroll >> up, select the next screenful etc. I want the screen to scroll when >> the mouse pointer hits the top or bottom of the window. >> >> The best I've done so far is script - it works but it's messy. swell> 1 start selection by left mouse button swell> 2 scroll to the end of desired text swell> 3 extend selection by right mouse button swell> ? Thanks for the solution. It works for me :) -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· pgpYk9tOli6Rm.pgp Description: PGP signature
Re: localhost in sudoers
>>>>> On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse <[EMAIL PROTECTED]> >>>>> said: Chris> I think my question really is why doesn't sudoers recognise localhost Chris> or 127.0.0.1? And, BtW, while enumerating network interfaces, it skips those interfaces which're DOWN or LOOPBACK. If you've more questions, the quickest way is to checkout source code :) . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpWaI2EgQLWr.pgp Description: PGP signature
Re: localhost in sudoers
>>>>> On Sat, 19 Jan 2008 23:40:35 +, Chris Whitehouse <[EMAIL PROTECTED]> >>>>> said: Chris> I think my question really is why doesn't sudoers recognise localhost Chris> or 127.0.0.1? Quoting from sudo.c of sudo-1.6.8p12 in "init_vars(int)" routine: 8<8< /* * We avoid gethostbyname() if possible since we don't want * sudo to block if DNS or NIS is hosed. * "host" is the (possibly fully-qualified) hostname and * "shost" is the unqualified form of the hostname. */ sudo_user.host_fqdn_queried = FALSE; nohostname = gethostname(thost, sizeof(thost)); if (nohostname) user_host = user_shost = "localhost"; else { user_host = estrdup(thost); if ((p = strchr(user_host, '.'))) { *p = '\0'; user_shost = estrdup(user_host); *p = '.'; } else { user_shost = user_host; } } >8>8 As you can see, it uses gethostname() to return the hostname. So, your host won't be 'localhost' unless its not able to retrieve hostname or your hostname is set to 'localhost'. Why they did this probably because any entry for 'localhost' is valid for execution on all machines, ;) . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpC4l1H0tJTj.pgp Description: PGP signature
Re: localhost in sudoers
>>>>> Chris Whitehouse writes: Chris> The problem is this machine gets its ip address by dhcp so I shouldn't Chris> enter an ip in sudoers. Is there a neat way round this? Why not use hostname from DNS, instead, hmm...? HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpvamBqslnNw.pgp Description: PGP signature
Re: Anycast DNS - anybody?
>>>>> Regarding Anycast DNS - anybody?; Ewald Jenisch <[EMAIL PROTECTED]> adds: Ewald> Hi, Ewald> Has anybody out there configured anycast DNS (where multiple instances Ewald> of a DNS-server run under the same IP-address in different parts of Ewald> the network) under FreeBSD? AFAIK, anycast requires magic at routing level. So that user will connect to the nearest DNS server (holding the anycast address). Ewald> I'm looking for some hints to get started, but googling around didn't Ewald> provide much info on that topic... It has do with routing so you need to investigate on routing protocols, like RIP, etc. 192.168.1.1 10.0.0.1network 10.0.0.2 192.168.1.1 [server1] --- [router1] =[router2] --- [server2] router1, router2 -- redundant routers connecting to different ISPs So if router2 receives packet destined for 192.168.1.1, instead of sending to server1 it'll send it to server2, since server2 is nearest to it, and vice versa. Above is a very simple configuration describing anycast. Since Anycast works only for connection-less protocols, you don't need to keep TCP connections synchronized between two servers, although both servers should behave identically, i.e. return similar records. BtW, I've never implemented anycast ever, so its fully based on my imagination. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpdi5PO5FCnu.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
>>>>> "Xn" == Xn Nooby <[EMAIL PROTECTED]> writes: Xn> Well, after 15 hours of experimenting, I have 1024x768 working! Xn> Getting PreferredMode to work was the main thing, I think. It was Xn> literally on my last try, before I reinstalled Ubuntu, that I got it Xn> to work, lol. Maybe these note will be of value to another nooby. Xn> thanks again! Xn> There 3 things that I needed: Xn> 1) A modeline from the Modeline Calculator website Xn> 2) To use the RefreshRate in the PreferredMode option Xn> 3) To use the RefreshRate in the Modes line Xn> Section "Monitor" Xn> Identifier "Monitor0" Xn> VendorName "Monitor Vendor" Xn> ModelName"Monitor Model" Xn> Modeline "[EMAIL PROTECTED]" 64.56 1024 1056 1296 1328 768 783 791 807 Xn> Option "PreferredMode" "[EMAIL PROTECTED]" Xn> EndSection Xn> DefaultDepth 24 Xn> SubSection "Display" Xn> Viewport 0 0 Xn> Depth 24 Xn> Modes "[EMAIL PROTECTED]" Xn> EndSubSection This is great, congrats :). -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpU7gHarYvTr.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
>>>>> "Xn" == Xn Nooby <[EMAIL PROTECTED]> writes: Xn> Using the vesa driver worked - I am able to get 1024x768, though the Xn> fonts are a little weird. I tried to use the modeline from the vesa Xn> driver with nv, but it didn't work. If the nv driver is part of the Xn> problem, I will try the native nVidia driver and see how that works. Xn> I've been shutting down and restarting X everytime I try something. I Xn> made a xorg.conf with the vesa selected by running xorgconfig. Ill try Xn> the native driver and see what happens. Following is an excerpt from my xorg.conf with ModeLine, see if you've entered "ModeLine" properly. -- Section "Monitor" Identifier "Monitor0" ModelName"LCD Panel 1440x900" HorizSync50.0 - 75.0 VertRefresh 60.0 - 85.0 Option "dpms" ModeLine"[EMAIL PROTECTED]"136.75 1440 1536 1688 1936900 903 909 942 -hsync +vsync DisplaySize 408.94 254.0 Option "TargetRefresh" "75.0" EndSection Section "Device" Identifier "Videocard0" Driver "intel" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor"Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes"[EMAIL PROTECTED]" "1024x768" "800x600" "640x480" [EMAIL PROTECTED] EndSubSection EndSection - HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpufzX4sNUnV.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
>>>>> "Xn" == Xn Nooby <[EMAIL PROTECTED]> writes: Xn> I was able to temporarily change the resolution using the "xrandr -s Xn> 1024x768" command - but "xvidtune -show" still displayed a modeline Xn> that begins with "1280x1024". I copied that modeline to my xorg.conf, Xn> and manually changed the resolution, but I did not fool it. It was Xn> great to see the screen at 1024x768, so I know it can do it. Hmm..., this is strange. BtW, after adding modeline, you need to restart Xorg. Anyways to get modeline for "1024x768" you can try switching to 'vesa' driver temporarily, extract modeline for 1024x768 From there, and then enter that modeline in xorg.conf. I tried this method when I'm having problem setting my old 15" LG Studioworks 452V to display 1024x768 without getting clipped. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpqsemdONtz7.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
>>>>> "Xn" == Xn Nooby <[EMAIL PROTECTED]> writes: >> To make things obvious you will have to take a look at your xorg.conf file >> Please do change dir to its parent folder (cd /etx/X11/) and run >> cat xorg.conf | tr -s "\n" | grep -v "#" >> that should make your xorg.conf look simple and clear. Xn> Here is mine, which still wont go in to 1024x768 mode: You've 3 options: Xn> SubSection "Display" Xn> Viewport 0 0 Xn> Depth 24 Xn> Modes "1024x768" "800x600" 1. How about appending "1280x1024" to the above line. AFAIK, these modes are listed in the order of preference. See, if it works. 2. Another thing you can try, is to change the "VertRefresh", and "HorizRefresh" limits of your monitor, change them in such a way, so that X server won't be able to display 1280x1024 mode, resulting in switch to 1024x768 mode. Since 1280x1024 requires a lower refresh rate as compared to 1024x768, so .e.g. if 1280x1024 works on 60 Hz (vertical refresh rate), and 1024x768 is available in 60 Hz, 75 Hz, 85 Hz, then you can increase lower limit of VertRefresh, to something greater than 60. 3. Another thing you can try is mode setting, switch to 1024x768 using xrandr. And then use "xvidtune -show" to generate modeline, [EMAIL PROTECTED] ~ $ xrandr -s 1024x768 Now, in 1024x768 mode, enter this: [EMAIL PROTECTED] ~ $ xvidtune -show "1024x768"136.75 1024 1536 1688 1936768 903 909 942 -hsync +vsync NOTE: Don't use above modeline, thats from 1440x900 resolution, except that I changed 1440, 900 to 1024, 768 respectively :) . Now copy above modeline, and add to the "Monitor" section of your "xorg.conf" as show below: ModeLine"1024x768" 136.75 1024 1536 1688 1936 768 903 909 942 -hsync +vsync HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpahEdD7MnMW.pgp Description: PGP signature
Re: Resolution too high with 7-RC1, nVidia, xorg
>>>>> "Xn" == Xn Nooby <[EMAIL PROTECTED]> writes: Xn> I am having trouble getting X to use a screen resolution that is less Xn> than the maximum. When I edit my xorg.conf to add a DefaultDepth and Xn> a Mode of "1024x768", it still comes up at 1280x1024. I did not Xn> create any modeline entries yet, since I'm not sure how to do that. Xn> My GUI (icewm) works, but browsing the web creates enormous eye-strain Xn> from the high-resolution letters. Xn> My hardware is a Dell Inspiron 530 Desktop with an nVidia Card. It Xn> comes with SATA CD's, so I have to install with FreeBSD 7-RC1. Xn> I started by running "xorg -configure", and used the xorg.conf that it Xn> generated. I looked at /var/log/Xorg.0.log, and it had many entries Xn> from probing my hardware. It appears there is some kind of dynamic Xn> configuration going on, but I know its using the xorg.conf, because it Xn> got an error when I changed the adapter entry from "nv" to "vga". Xn> I actually had a similar problem on Ubuntu, and they had some Xn> "xorg-reconfigure" program that would let you use less than maximum Xn> values. I was wondering if FreeBSD had something similar. Xn> The "DefaultDepth 24" and "Modes "1024x786"" entries are from the Xn> online FreeBSD Handbook, I believe I followed the Handbook Xn> instructions properly. Xn> Am I missing something obvious? From using Linux, I was expecting the Xn> "Modes" values to work. "TargetRefresh", and "PreferredMode" options, available in recent Xorg releases (probably since 7.2), you'll require. I'm using "TargetRefresh" (75 Hz) on my Intel 945G graphics to set my monitor to display 1440x900 rather than 1280x1024. And this same configuration is working fine for both FreeBSD 7.0-BETA4 (amd64), and Ubuntu 7.10 (amd64). HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpLpiBuDw85c.pgp Description: PGP signature
Re: installing linux after freebsd (multi-boot)
xtClicked अनुज> self.anaconda.dispatch.gotoNext() अनुज> File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback अनुज> self.intf.icw.nextClicked() अनुज> File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback अनुज> self.currentWindow.renderCallback() अनुज> error: Error: Error informing the kernel about modifications to अनुज> partition /dev/hdc1 -- Device or resource busy. This means Linux अनुज> won't know about any changes you made to /dev/hdc1 until you reboot -- अनुज> so you shouldn't mount it or use it in any way before rebooting. अनुज> Local variables in innermost frame: अनुज> self: अनुज> disk: Can you paste your partition layout, including any LVM volumes (if you've) ? -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpK1ONX6cOyC.pgp Description: PGP signature