[gentoo-user] CUPS + Samba
Hi, I got a problem with printing. When I try to print something, it says : Unable to connect to CIFS host, will retry in 60 seconds... in localhost:631. Here is my printers.conf file : Printer iR-3100C-EUR Info ir3100c DeviceURI smb://WORKGROUP\USER:[EMAIL PROTECTED]/PRC-CF-NEO-200-CAN-PS State Idle StateTime 1192454327 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer I don't know what the print server is running (windows server I think). I'm running gentoo with a 2.6.20 kernel, CUPS 1.2.10-r1 and Samba 3.0.24-r3. Does somebody know how to get it work ? Thanks Ben -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: CUPS + Samba
Hi, problem solved, sorry for this e-mail... The IP address was wrong (it was the printer's IP and not print-server's IP). Ben 2007/10/15, Benjamin Graf [EMAIL PROTECTED]: Hi, I got a problem with printing. When I try to print something, it says : Unable to connect to CIFS host, will retry in 60 seconds... in localhost:631. Here is my printers.conf file : Printer iR-3100C-EUR Info ir3100c DeviceURI smb://WORKGROUP\USER:[EMAIL PROTECTED]/PRC-CF-NEO-200-CAN-PS State Idle StateTime 1192454327 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer I don't know what the print server is running (windows server I think). I'm running gentoo with a 2.6.20 kernel, CUPS 1.2.10-r1 and Samba 3.0.24-r3. Does somebody know how to get it work ? Thanks Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] auto proxy config (Firefox, and more)
Ok, I'll try with IsInNet and patience..! Thanks ! Ben 2007/9/27, Willie Wong [EMAIL PROTECTED]: On Wed, Sep 26, 2007 at 05:26:44PM +0200, Penguin Lover Benjamin Graf squawked: Thanks for the answer ! How can I see what myIpAddress() returns ? I tried it in a simple html page (javascript) but it didn't work. Not being a javascript guru, I don't really know. Just tried with Venkman, and it seems that myIpAddress() is not standard?! (Can anyone more familiar with Javascript help?) One possibility might be that you should use the IsInNet function instead of just grepping the substring, but I really doubt that it would make a difference. One thing you can do to debug it is to use the IsInNet function and applying a large mask (like 240.0.0.0) and go downwards to find out what exactly the PAC file think your IP address is. Maybe that could shed light on what exactly is wrong. Best, W -- `Time is an illusion. Lunchtime doubly so.' `Very deep,' said Arthur, `you should send that in to the Reader's Digest. They've got a page for people like you.' - Ford convincing Arthur to drink three pints in ten minutes at lunchtime. Sortir en Pantoufles: up 293 days, 1:21 -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] auto proxy config (Firefox, and more)
Thanks for the answer ! How can I see what myIpAddress() returns ? I tried it in a simple html page (javascript) but it didn't work. Ben 2007/9/25, Willie Wong [EMAIL PROTECTED]: On Mon, Sep 24, 2007 at 06:26:43PM +0200, Penguin Lover Benjamin Graf squawked: I tried this as a proxy automatic configuration file (*.pac), but it doesn't work : snip At school, it works correctly (it uses the proxy when it is necessary), but not at home. I think the myIpAddress is maybe not the right solution. The only thing I can think of is that maybe myIpAddress is not returning what you think it returns? W -- THE ENGLISH LANGUAGE ladybree@ We'll begin with box, the plural is boxes; But the plural of ox is oxen, not oxes. One fowl is a goose, but two are called geese, Yet the plural of moose is never meese. You may find a lone mouse or a whole nest of mice, But the plural of house is houses, not hice. If the plural of man always is men, Why shouldn't the plural of pan be call pen? If I speak of a foot and you show me two feet, And I give you a boot, would a pair be called beet? If the singular is this and the plural these, Should a plural of kiss ever be keese? We speak of a brother and also of brethren, But though we say mother, we never say methren. Then the masculine pronouns are he, his and him, But imagine the females - she, shis and shim! Sortir en Pantoufles: up 291 days, 19:26 -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] auto proxy config (Firefox, and more)
Hi, I'm using my notebook in the school (via Wi-Fi + Cisco VPN) and at home. At school I need a proxy, but not at home. I tried this as a proxy automatic configuration file (*.pac), but it doesn't work : function FindProxyForURL(url, host) { if (myIpAddress().substring(0,7) == 192.168) { return DIRECT; } else { if (isPlainHostName(host) || dnsDomainIs(host, .he-arc.ch) || dnsDomainIs(host, .eiaj.ch) || dnsDomainIs(host, .heaa-ne.ch) || dnsDomainIs(host, .hegne.ch) || dnsDomainIs(host, .career-women.ch) || dnsDomainIs(host, .ilce.ch) || dnsDomainIs(host, .isnetne.ch) || dnsDomainIs(host, .agf.hes.so.ch) || dnsDomainIs(host, .hesap1.eif.ch) || host == 127.0.0.1 || host.substring(0,3) == 10. || host.substring(0,10) == 157.26.64. || host.substring(0,8) == 192.168. || host == 57.26.241.20) { return DIRECT; } else { return PROXY proxy.he-arc.ch:8080; } } } At school, it works correctly (it uses the proxy when it is necessary), but not at home. I think the myIpAddress is maybe not the right solution. Does anybody have an idea how to solve my problem ? I would prefer a more global solution (for the whole system, not only Firefox), but if you have an idea for Firefox, I would be really happy ! Thanks Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: OT serial port program with a gui interface
For simple programs, maybe Gambas will work. It's a bit like M$ Visual Basic. There is an example for the serial port included. 2007/7/3, b.n. [EMAIL PROTECTED]: James ha scritto: Well those are OK but, I was hoping for something with a few simple input boxes, so the user can input, say a floating point varialble or an integer varialble inside the box, then my program would use the 9600 baud serial port to transfer the parameter setting to a specific register on the microP. Likewise the program (gui) could interrogate the microP and discover various settings/values, using the gui interface. A raw terminal session will work, but, it helps me to be able to put simple graphics and other things beside the IO gui boxes (my jargon is neophyte. maybe they are called dialog boxes to gui programmers?) I know how to do all of the serial stuff on the linux and microP side, I just am not much of a gui developer (to say the least) It can be simple to the point of spartan on the gui side of things, I usually use C underneath and on the micro. If you know c++, I guess you can use the GUI library wxWindows and code the gui yourself. It's not that hard (I use the wxWindows library under Python, however). m. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Gambas interface
Hi, I've installed gambas (a programming language/ide a bit like VisualBasic). I'm running fluxbox and the gambas interface is a bit ugly (maybe like a tcl/tk interface). I think if I were running KDE it would look better. A screenshot is available at http://www.imagehoop.com/view_image/a831f642/gambas.jpg . My USE flags for fluxbox, gambas and qt : x11-wm/fluxbox-1.0_rc3 USE=gnome imlib kde nls truetype xinerama -disableslit -disabletoolbar dev-util/gambas-1.0.14 USE=bzip2 curl doc kde sdl xml zlib -mysql -postgres -sqlite -xsl x11-libs/qt-4.2.3-r1 USE=cups doc gif glib jpeg opengl png xinerama zlib -accessibility -dbus -debug -examples -firebird -mng -mysql -nas -nis -odbc -pch -postgres -qt3support -sqlite -sqlite3 INPUT_DEVICES=-wacom Thanks ! Ben -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Gambas interface
Now I found out the problem : I just had to launch qtconfig and select another theme... Ben 2007/7/2, Benjamin Graf [EMAIL PROTECTED]: Hi, I've installed gambas (a programming language/ide a bit like VisualBasic). I'm running fluxbox and the gambas interface is a bit ugly (maybe like a tcl/tk interface). I think if I were running KDE it would look better. A screenshot is available at http://www.imagehoop.com/view_image/a831f642/gambas.jpg . My USE flags for fluxbox, gambas and qt : x11-wm/fluxbox-1.0_rc3 USE=gnome imlib kde nls truetype xinerama -disableslit -disabletoolbar dev-util/gambas-1.0.14 USE=bzip2 curl doc kde sdl xml zlib -mysql -postgres -sqlite -xsl x11-libs/qt-4.2.3-r1 USE=cups doc gif glib jpeg opengl png xinerama zlib -accessibility -dbus -debug -examples -firebird -mng -mysql -nas -nis -odbc -pch -postgres -qt3support -sqlite -sqlite3 INPUT_DEVICES=-wacom Thanks ! Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo update
Thanks a lot for all these answers ! I'm reassured now. Ben -- [EMAIL PROTECTED] mailing list
[gentoo-user] Gentoo update
Hi, I would like to know if there is a danger if I use a program during its updating (when I run emerge -uD world for example). Thanks ! Benjamin -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo update
so if the only danger is a crash, that's ok ! there is not really a danger for the system. Thanks ! Benjamin 2007/6/3, Michal 'vorner' Vaner [EMAIL PROTECTED]: Hello On Sun, Jun 03, 2007 at 08:59:53PM +0200, Benjamin Graf wrote: I would like to know if there is a danger if I use a program during its updating (when I run emerge -uD world for example). Theoretically, there could be (depends on the software) - some of its files could disappear, but the worst thing I can imagine is a crash of the program. Anyway, I did not notice any such problem and I do update while the computer is in use. It may be caused by the fact that the program is replaced quite fast - the only dangerous time could be when the new one is copied from sandbox to the real system. As for it - I would not dare it on a mission critical server, but anywhere else yes. -- This message has optimized support for formating. Please choose green font and black background so it looks like it should. Michal 'vorner' Vaner -- [EMAIL PROTECTED] mailing list
[gentoo-user] Emerge --sync doesn't work anymore
Hi, I added some ebuilds in /usr/local/portage and ran the ebuild foo.ebuild digest command for every ebuild I added. Now, emerge --sync gives me an error : calypso ~ # emerge --sync Starting rsync with rsync://134.68.220.74/gentoo-portage... Checking server timestamp ... rsync: --filter=H_**/files/digest-*: unknown option rsync error: syntax or usage error (code 1) at main.c(1013) !!! Rsync has reported that there is a syntax error. Please ensure !!! that your SYNC statement is proper. !!! SYNC=rsync://rsync.gentoo.org/gentoo-portage I can update my portage tree with emerge-webrsync. Can someone help me ? thanks ! Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Emerge --sync doesn't work anymore
Thanks a lot ! it works. 2007/4/14, Bo Ørsted Andresen [EMAIL PROTECTED]: On Saturday 14 April 2007 11:54:42 Benjamin Graf wrote: I added some ebuilds in /usr/local/portage and ran the ebuild foo.ebuild digest command for every ebuild I added. Now, emerge --sync gives me an error : calypso ~ # emerge --sync Starting rsync with rsync://134.68.220.74/gentoo-portage... Checking server timestamp ... rsync: --filter=H_**/files/digest-*: unknown option rsync error: syntax or usage error (code 1) at main.c(1013) !!! Rsync has reported that there is a syntax error. Please ensure !!! that your SYNC statement is proper. !!! SYNC=rsync://rsync.gentoo.org/gentoo-portage I can update my portage tree with emerge-webrsync. You can remove the --filter option from PORTAGE_RSYNC_OPTS in /etc/make.globals to make it work now. Note that it'll be added again the next time you emerge portage. Before then you should upgrade rsync. -- Bo Andresen -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: X application instability
Hi, I got the same problem (mostly with audacious, scite and inkscape). Did you find a solution ? Thanks Ben -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: X application instability
Hi, I got the same problem (mostly with audacious, scite and inkscape). Did you find a solution ? Thanks Ben PS : sorry if this message appeared more than one time, I'm new to mailing lists and I didn't really know how to write the subject. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] X application instability
Hi, I got the same problem (mostly with audacious, scite and inkscape). Did someone find a solution ? Thanks Ben -- gentoo-user@gentoo.org mailing list