Re: [gentoo-user] [OT] laptop desktop serial connection don't work on one direction
My question is why the hell would you want to connect it over serial? Try ethernet, its much faster. -- Jeremy On Nov 5, 2011, at 4:20 AM, Kfir Lavi wrote: > Hi all, > I have a problem connecting my laptop to my server at home with a serial > cable. > I have cable end for /dev/ttyS0 and 2 cable ends for /dev/ttyUSB0. > This lets me test the connection between all serial outputs. > Desktop1-minicom <-> Desktop2-minicom > works with all connections, i.e ttyUSB0 <-> ttyUSB0, or ttyS0 <-> ttyUSB0 and > viseversa. > So when connecting 2 desktop computers everything works as expected. > > The problem: > When I connect my laptop to any of those desktops, I get just one way > connection! > If I swap the sides of the cable, the one way connection switch side. > The laptop doesn't have ttyS0, so it have to be connected via ttyUSB0 > When I swap sides, it is just between two usb dongles. > > The usb dongles are PL2303 both sides. > Settings of minicom is 38400 8n1 Hardware Flow Control=OFF > > Laptop setserial: > setserial -a /dev/ttyUSB0 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 > Baud_base: 460800, close_delay: 0, divisor: 0 > closing_wait: infinte > Flags: spd_normal > > Desktop1 setserial: > setserial -a /dev/ttyS0 > /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 > Baud_base: 115200, close_delay: 50, divisor: 0 > closing_wait: 3000 > Flags: spd_normal skip_test > > setserial -a /dev/ttyUSB0 > /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x, IRQ: 0 > Baud_base: 460800, close_delay: 0, divisor: 0 > closing_wait: infinte > Flags: spd_normal > > I tried to add the skip_test but this seems to be not working. > I'm not sure what to do next. > > Any help will be appreciated, > Thanks, > Kfir
Re: [gentoo-user] Epson BX525WD
the type depends on how its hooked up, if its ethernet; use IPP. if its usb, it should detect -- Jeremy McSpadden def...@uberpenguin.net On Aug 31, 2011, at 8:24 AM, Thanasis wrote: > Anyone with experience working with epson inkjet printers? > > BX525WD is a multifunction device (printer, copier and scanner), and has > ethernet, USB and wifi connectivity. > > Can I use it with CUPS? Do I need any special USE flags? > I use the amd64 no-multilib profile. > I am interested in its printing function in the first place. > > I looked at epson home site for drivers and it pointed to > http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/ > where one can find binary .rpm and .deb packages for the diver, and the > source code as > epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm > > I downloaded the > http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm > file and used rpm2tbz2 to get the file: > epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2 > Among other files it contains a ppd file that seems appropriate for the > printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz > I guess I could use that with CUPS, but to connect to the printer via > ethernet, what option (protocol?) should I select? > > CUPS web interface (http://localhost:631/admin/) > gives me those options: > > Local Printers: > SCSI Printer > HP Printer (HPLIP) > > Other Network Printers: > AppSocket/HP JetDirect > Internet Printing Protocol (http) > Internet Printing Protocol (ipp) > Internet Printing Protocol (https) > LPD/LPR Host or Printer > Windows Printer via SAMBA >
Re: [gentoo-user] new user and dhcpcd problem
what is in /etc/resolv.conf ? Your saying you can route by IP, but not DNS ? On Aug 11, 2011, at 2:55 PM, Alexandre Riveira wrote: > Good afternoon am a New User gentoo and I appreciate everyone's help. > > My problem is set up and dhcpcd with rc-update add dhcpcd default when I try > to wget is always HTTP request sent, Awaiting Response ... 200 and not out of > it OK if I put fixed IP it works normally. Interestingly, with dhcpcd ping > any external ip works normally. The IP number, gateway and dns are the same > used with fixed IP and dhcpcd. > > > Tanks for all > > > Alexandre Riveira > brazil
Re: [gentoo-user] make oldconfig necessary?
Better to run make oldconfig. It merges the changes. -- Jeremy McSpadden def...@uberpenguin.net On Jul 31, 2011, at 9:06 PM, Pandu Poluan wrote: > Let's say I have a .config from an older kernel version (for example, > 2.6.38), and now I want to install a newer kernel (let's say, 3.0). > > Is it necessary to first do `make oldconfig`, or is it safe to go > directly to `make menuconfig`? > > Rgds, > > > -- > -- > Pandu E Poluan - IT Optimizer > My website: http://pandu.poluan.info/ > > >
Re: [gentoo-user] thunderbird bug?
Make sure your client is set to auth before sending. Simple fix. -- Jeremy McSpadden def...@uberpenguin.net On May 24, 2011, at 2:57 PM, James wrote: > Hello, > > When I try to click an email address in Craigslist to respond > to a poster, I get this error message: > > Sending of message failed. > An error occurred sending mail: Unable to authenticate to SMTP server > smtp-server.tampabay.rr.com. It does not support authentication (SMTP-AUTH) > but > you have chosen to use authentication. Uncheck 'Use name and password' for > that > server or contact your service provider. > > > However, when I just cut and paste the same identical email address > into the to field of thunderbird, it works perfectly. I'm drawing > a blank for "keywords" or ideas to search out this problem. > It use to work fine, so I'm guessing it's a thunderbird bug. > Where would I search out those sorts of bugs? > > Could this be my bug?: > > https://www.mozilla.org/security/announce/2011/mfsa2011-10.html > > I use thunderbird, not seamonkey, for email > > ideas? > > James > > > >
Re: [gentoo-user] Display indirect login X app here?
Rather than trying to ssh tunnel + X, why not vpn into one of the machines, that would allow you to be local and you can then ssh to each machine on the lan from your local. -- Jeremy McSpadden def...@uberpenguin.net On May 22, 2011, at 2:01 PM, Mark Knecht wrote: > Hi, > I'm on a Gentoo box here and ssh'ed into a remote network at my > folks house. When I log into the Gentoo machine that the router points > to (my dad's desktop) I have no problem displaying an X app > (gnome-terminal for instance) running on that machine here on my > screen. However when I ssh from that machine into another machine on > the network I am unable to get an X app to display here due to dbus > and/or X problems: > > mark@gandalf ~ $ ssh -X -Y -C laptop > Password: > Last login: Sun May 22 03:50:07 PDT 2011 from 192.168.1.2 on pts/0 > mark@laptop1 ~ $ konsole > (4454)/: KUniqueApplication: Cannot find the > D-Bus session server: "/usr/bin/dbus-launch terminated abnormally > with the following error: Autolaunch error: X11 initialization failed. > " > > (4453)/: KUniqueApplication: Pipe closed unexpectedly. > > mark@laptop1 ~ $ systemsettings > systemsettings(4457): KUniqueApplication: Cannot find the D-Bus > session server: "/usr/bin/dbus-launch terminated abnormally with the > following error: Autolaunch error: X11 initialization failed. > " > > systemsettings(4456): KUniqueApplication: Pipe closed unexpectedly. > > mark@laptop1 ~ $ su - > Password: > laptop1 ~ # rc-update show > acpid | default >bootmisc | boot > checkfs | boot > checkroot | boot > clock | boot > consolefont | boot >dbus | default >hald | default >hostname | boot > keymaps | boot > local | default nonetwork > localmount | boot > modules | boot > net.lo | boot >netmount | default >ntpd | default > rmnologin | boot >sshd | default > syslog-ng | default > udev-postmount | default > urandom | boot > vixie-cron | default > xdm | default > laptop1 ~ # > > > Is there an obvious fix to this? All the machines are ssh > configured to do X forwarding and when the laptop was here (my mom's > laptop which I configured for her) I was able to ssh into it and > display stuff so I assume it's something to do with the machine in the > middle? > > Thanks in advance, > Mark > > >
Re: [gentoo-user] ssmtp rewriting "From:" in emails...
Sorry, that should be YES -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: > I simply want ssmtp not to touch > or change "from" field, and let it to be as it is defined by MUA > (in this case it is php(mail) function of my web-server)... > > Jarry
Re: [gentoo-user] ssmtp rewriting "From:" in emails...
What does your code look like? What application is sending the registration emails? -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: > While before "From" field in messages sent my web-server was: > added by portage for apache > (where "myserver.mydomain.com" is FQDN of my web-server) > > After this modification I get mails from: > added by portage for apache > > But it should come from: > Info > > So it is still not what I expect. I simply want ssmtp not to touch > or change "from" field, and let it to be as it is defined by MUA > (in this case it is php(mail) function of my web-server)... > > Jarry > > > On 22. 4. 2011 19:44, Jeremy McSpadden wrote: >> rewriteDomain=yourdomain.com >> hostname=yourdomain.com >> >> -- >> Jeremy McSpadden >> def...@uberpenguin.net >> >> >>> >>> I have a strange problem: whenever my web-server sends registration >>> emails, the sender field gets overwritten. >>> >>> "From:" should be: >>> >>> My Web Site >>> >>> But email is delivered to the addressee from: >>> >>> added by portage for apache >>> >>> Logs on my web-server indicate the mail was handed over to >>> the local MTA with the correct "From:" field. Logs on my >>> mail-server (which is a different machine) show it has >>> already received this mail for delivery with changed "From" >>> field. >>> >>> In between is ssmtp, running on the same machine as web. >>> I'm not quite sure, because I did not find any ssmtp-logs, >>> but I suppose ssmtp is changing "From", simply to the user >>> under which the process is running is substituted into >>> "From" field. >>> >>> My /etc/ssmtp/ssmtp.conf (without comments) is quite simple: >>> root=postmaster >>> mailhub=mymailserver >>> >>> How can I instruct ssmtp not to change "From:" fields >>> in emails? > > -- > ___ > This mailbox accepts e-mails only from selected mailing-lists! > Everything else is considered to be spam and therefore deleted. > > >
Re: [gentoo-user] ssmtp rewriting "From:" in emails...
FromLineOverride=NO -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: > I simply want ssmtp not to touch > or change "from" field, and let it to be as it is defined by MUA > (in this case it is php(mail) function of my web-server)... > > Jarry
Re: [gentoo-user] ssmtp rewriting "From:" in emails...
rewriteDomain=yourdomain.com hostname=yourdomain.com -- Jeremy McSpadden def...@uberpenguin.net On Apr 22, 2011, at 12:07 PM, Jarry wrote: > Hi, > > I have a strange problem: whenever my web-server sends registration > emails, the sender field gets overwritten. > > "From:" should be: > > My Web Site > > But email is delivered to the addressee from: > > added by portage for apache > > Logs on my web-server indicate the mail was handed over to > the local MTA with the correct "From:" field. Logs on my > mail-server (which is a different machine) show it has > already received this mail for delivery with changed "From" > field. > > In between is ssmtp, running on the same machine as web. > I'm not quite sure, because I did not find any ssmtp-logs, > but I suppose ssmtp is changing "From", simply to the user > under which the process is running is substituted into > "From" field. > > My /etc/ssmtp/ssmtp.conf (without comments) is quite simple: > root=postmaster > mailhub=mymailserver > > How can I instruct ssmtp not to change "From:" fields > in emails? > > Jarry > > -- > ___ > This mailbox accepts e-mails only from selected mailing-lists! > Everything else is considered to be spam and therefore deleted. > > >
Re: [gentoo-user] Why can't I emerge telnet?
[I] net-misc/netkit-telnetd Available versions: 0.17-r6 0.17-r8 ~0.17-r9 ~0.17-r10 Installed versions: 0.17-r8(04:51:44 11/19/09) Homepage:ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ Description: Standard Linux telnet client and server learn to search portage. either "eix" or "emerge -s" Jeremy On Apr 7, 2011, at 11:19 AM, Alan Mackenzie wrote: > Hi, Gentoo! > > I would like a telnet client installed on my gentoo amd64 system. When I > try >emerge telnet > , I get told that telnet doesn't exist. > > What am I doing wrong? Is there a telnet client on gentoo? > > -- > Alan Mackenzie (Nuremberg, Germany). > > >
Re: [gentoo-user] xorg crashes
INPUT_DEVICES="keyboard mouse evdev" On Apr 5, 2011, at 4:36 PM, Mike Bean wrote: > Well, re-running emerge on the driver set had at least two effects. 1) The > segfault address moved, and 2) the backtrace moved, 3) the error changed. > > My xlog: http://pastebin.com/zs5zvEBE > > My usefile: http://pastebin.com/vtvZsumP > > My xorg.conf: http://pastebin.com/qwyE5nsX > > Kinda wish I could stay and comb it, but if I don't get into traffic before > rush hour, it'll tack a good 30-45 min onto my commute length. Will have to > go through it when I get home! > > On Tue, Apr 5, 2011 at 2:19 PM, Jeremy McSpadden > wrote: > Can you paste our make.conf file ? and the output of " eselect profile list " > ? > > On Apr 5, 2011, at 3:15 PM, Mike Bean wrote: > >> That, is an interesting question, because I HAVE been changing USE flags. >> When the kernel was built it had a distinctly different use flag set. Now >> it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session >> startup-notification thunar udev -cdr -dvd alsa gtk" >> >> I might be giving myself away as a gentoo noob here, but I haven't >> technically built anything.When you say, "rebuild" are you referring to >> basically the same process as emerge? That's how I got my drivers and >> xorg, but when I think of building something I always think of >> configure/make/make install, and I want to be sure I'm not doing the wrong >> thing because of a misunderstanding >> >> On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann >> wrote: >> On Tuesday 05 April 2011 09:58:39 Mike Bean wrote: >> > Not sure what's going on, hopefully it's a configuration mistake of some >> > kind. Sometimes it crashes, sometimes it's intermittent. My xlog is at >> > http://pastebin.com/9jsJE8mw >> > Not really sure how to debug it, all advice is appreciated >> >> well, it is not a driver issue. Your server segfaults. Have you set strange >> flags? have you rebuild xorg-server and all the stuff it depends on with sane >> flags? >> >> > >
Re: [gentoo-user] how to match kernel and udev/lvm2 ?
Check to see if you have CONFIG_SYSFS_DEPRECATED_V2 enabled in kernel. zgrep CONFIG_SYSFS_DEPRECATED_V2 /proc/config.gz On Apr 5, 2011, at 3:52 PM, Stefan G. Weichinger wrote: > > edit: didn't get through at first try? > > - > > *WARNING* old stuff mentioned, pls don't say "get up to date" > > ;-) > > > > > greets, > > another special question today: > > I had an issue w/ a customer server yesterday. > > It still runs kernel 2.6.27-gentoo-r8 due to the fact that they still > run vmware-server-1.0.8.126538 and the related modules. > > Back then I figured out that newer vmware-modules wouldn't compile w/ > newer kernels ... and so on. > > In fact they don't want to spend money on upgrading (vmware-server etc) > because there will be a new and shiny server later this year. > > - > > But the guy asked me if we could swap harddrives to add space, and > increase the LVM volume group etc. > > I said yes .. and upgraded stuff like udev and lvm2 a few weeks ago, > just in case and to have the latest releases. It hit us yesterday when > he swapped a fan and at reboot udev didn't create proper sdX and mdX > devices anymore ... > > So I had to downgrade udev and lvm2 again to fit that ancient kernel. I > used genlop to check which versions were installed at the time the last > successful boot had happened. > > Right now I have: > > sys-fs/udev-124-r2 > > sys-fs/lvm2-2.02-56-r2 > > yep, old. > > The question: how to find out (without much trial and error) which > releases of udev and lvm2 are the best/newest to use with that kernel? > > I don't want too much old bugs in the box on one hand while on the other > hand I have to mask pkgs to keep it running. > > Maybe one of you has a hint for me. > > Thanks in advance, best regards, Stefan > > >
Re: [gentoo-user] xorg crashes
Can you paste our make.conf file ? and the output of " eselect profile list " ? On Apr 5, 2011, at 3:15 PM, Mike Bean wrote: > That, is an interesting question, because I HAVE been changing USE flags. > When the kernel was built it had a distinctly different use flag set. Now > it's USE="mmx sse sse2 ssh X -gnome -kde -qt4 dbus jpeg lock session > startup-notification thunar udev -cdr -dvd alsa gtk" > > I might be giving myself away as a gentoo noob here, but I haven't > technically built anything.When you say, "rebuild" are you referring to > basically the same process as emerge? That's how I got my drivers and xorg, > but when I think of building something I always think of configure/make/make > install, and I want to be sure I'm not doing the wrong thing because of a > misunderstanding > > On Tue, Apr 5, 2011 at 1:20 PM, Volker Armin Hemmann > wrote: > On Tuesday 05 April 2011 09:58:39 Mike Bean wrote: > > Not sure what's going on, hopefully it's a configuration mistake of some > > kind. Sometimes it crashes, sometimes it's intermittent. My xlog is at > > http://pastebin.com/9jsJE8mw > > Not really sure how to debug it, all advice is appreciated > > well, it is not a driver issue. Your server segfaults. Have you set strange > flags? have you rebuild xorg-server and all the stuff it depends on with sane > flags? > >
Re: [gentoo-user] distcc problems
On Mon, 2008-11-03 at 14:10 -0500, Daryl Styrk wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I thought I had everything set up correctly but apparently not. > > distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc > : No such file or directory > distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110 > make: *** [args.o] Error 110 > * > * ERROR: dev-util/ctags-5.7 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 2107: Called die > *The specific snippet of code: > * emake || die "emake failed" > * The die message: > * emake failed > > I'm pretty new to gentoo, and linux this far 'in' any help would be > greatly appreciated. I just finished the base install and figured this > would be nice to help speed along compiling the rest of the system. > > I'm a little lost where to start and where I might have gone wrong. > > Any pointers to steer me back in the right direction? > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFJD0ytejxzjThnMmIRAsQOAKCRXwyczhOP3OysbXnYI+Qj6Ncc5QCgjfOs > sq+k1BKOCQQBhjLzZms2YYk= > =mINu > -END PGP SIGNATURE- > I don't think your looking for distcc/d - that's for distributed compiling with other computers. maybe cccache ? Jeremy McSpadden UberPenguin.net
Re: [gentoo-user] xscreensaver compilation failed
On Mon, 2008-11-03 at 16:35 +0800, Ducky wrote: > I've just attached build.log again. > > Thanks http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=240958 Looks like the bug has already been filed. Jeremy McSpadden UberPenguin.net
Re: [gentoo-user] xscreensaver compilation failed
On Mon, 2008-11-03 at 16:17 +0800, Ducky wrote: > I'm sorry. I've now attached the build.log. > > > > On Mon, Nov 3, 2008 at 4:10 PM, Jeremy McSpadden <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-11-03 at 16:01 +0800, Ducky wrote: > > > > Hello, > > > > My xscreensaver failed to build. Not sure what's wrong. I've tried > > versions starting from 5.05. > > > > [ebuild N] x11-misc/xscreensaver-5.07 USE="jpeg opengl pam suid > > xinerama -new-login" 0 kB > > > > I tried to disable each options, it didn't help much. > > > > It failed at econf. > > > > ... > > config.status: creating driver/XScreenSaver.ad > > config.status: creating config.h > > config.status: executing default-1 commands > > config.status: executing po/stamp-it commands > > config.status: error: po/Makefile.in.in was not created by intltoolize. > > ... > > ... > > * > > * ERROR: x11-misc/xscreensaver-5.07 failed. > > * Call stack: > > * ebuild.sh, line 49: Called src_compile > > * environment, line 2950: Called econf > > '--with-x-app-defaults=/usr/share/X11/app-defaults' > > '--with-hackdir=/usr/lib/misc/xscreensaver' > > '--with-configdir=/usr/share/xscreensaver/config' > > '--x-libraries=/usr/lib' '--x-includes=/usr/include' '--with-dpms-ext' > > '--with-xf86vmode-ext' '--with-xf86gamma-ext' '--with-randr-ext' > > '--with-proc-interrupts' '--with-xpm' '--with-xshm-ext' > > '--with-xdbe-ext' '--enable-locking' '--without-kerberos' > > '--without-gle' '--with-gtk' '--with-pixbuf' '--with-setuid-hacks' > > '--without-login-manager' '--with-xinerama-ext' '--with-pam' > > '--without-gl' '--with-jpeg' > > * ebuild.sh, line 525: Called die > > * The specific snippet of code: > > * die "econf failed" > > * The die message: > > * econf failed > > * > > * If you need support, post the topmost build error, and the call > > stack if relevant. > > * A complete build log is located at > > '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/build.log'. > > * The ebuild environment file is located at > > '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/environment'. > > * > > > > Any idea? > > > > Thanks, > > > > I'd try posting the full log, not the snippets you think are relevant. > > > > > > > > > That looks like an env, not a build log. Jeremy McSpadden UberPenguin.net
Re: [gentoo-user] xscreensaver compilation failed
On Mon, 2008-11-03 at 16:01 +0800, Ducky wrote: > Hello, > > My xscreensaver failed to build. Not sure what's wrong. I've tried > versions starting from 5.05. > > [ebuild N] x11-misc/xscreensaver-5.07 USE="jpeg opengl pam suid > xinerama -new-login" 0 kB > > I tried to disable each options, it didn't help much. > > It failed at econf. > > ... > config.status: creating driver/XScreenSaver.ad > config.status: creating config.h > config.status: executing default-1 commands > config.status: executing po/stamp-it commands > config.status: error: po/Makefile.in.in was not created by intltoolize. > ... > ... > * > * ERROR: x11-misc/xscreensaver-5.07 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 2950: Called econf > '--with-x-app-defaults=/usr/share/X11/app-defaults' > '--with-hackdir=/usr/lib/misc/xscreensaver' > '--with-configdir=/usr/share/xscreensaver/config' > '--x-libraries=/usr/lib' '--x-includes=/usr/include' '--with-dpms-ext' > '--with-xf86vmode-ext' '--with-xf86gamma-ext' '--with-randr-ext' > '--with-proc-interrupts' '--with-xpm' '--with-xshm-ext' > '--with-xdbe-ext' '--enable-locking' '--without-kerberos' > '--without-gle' '--with-gtk' '--with-pixbuf' '--with-setuid-hacks' > '--without-login-manager' '--with-xinerama-ext' '--with-pam' > '--without-gl' '--with-jpeg' > * ebuild.sh, line 525: Called die > * The specific snippet of code: > * die "econf failed" > * The die message: > * econf failed > * > * If you need support, post the topmost build error, and the call > stack if relevant. > * A complete build log is located at > '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/environment'. > * > > Any idea? > > Thanks, I'd try posting the full log, not the snippets you think are relevant.