Compiling util-linux under Debian (crypto kernel)
Hi, I am compiling the crypto options into kernel under potato r4. The kernel part was a breeze but when I try to compile util-linux, I ran into compilation errors: cc -c -O -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_NFS lomount.c lomount.c:50: `LO_CRYPT_SERPENT' undeclared here (not in a function) lomount.c:50: initializer element is not constant lomount.c:50: (near initialization for `crypt_type_tbl[7].id') lomount.c:51: `LO_CRYPT_MARS' undeclared here (not in a function) lomount.c:51: initializer element is not constant lomount.c:51: (near initialization for `crypt_type_tbl[8].id') lomount.c:52: `LO_CRYPT_RC6' undeclared here (not in a function) lomount.c:52: initializer element is not constant lomount.c:52: (near initialization for `crypt_type_tbl[9].id') lomount.c:53: `LO_CRYPT_DES_EDE3' undeclared here (not in a function) lomount.c:53: initializer element is not constant lomount.c:53: (near initialization for `crypt_type_tbl[10].id') lomount.c:54: `LO_CRYPT_DFC' undeclared here (not in a function) lomount.c:54: initializer element is not constant lomount.c:54: (near initialization for `crypt_type_tbl[11].id') lomount.c: In function `set_loop': lomount.c:292: `LO_CRYPT_SERPENT' undeclared (first use in this function) lomount.c:292: (Each undeclared identifier is reported only once lomount.c:292: for each function it appears in.) lomount.c:293: `LO_CRYPT_MARS' undeclared (first use in this function) lomount.c:294: `LO_CRYPT_RC6' undeclared (first use in this function) lomount.c:295: `LO_CRYPT_DES_EDE3' undeclared (first use in this function) lomount.c:296: `LO_CRYPT_DFC' undeclared (first use in this function) make[1]: *** [lomount.o] Error 1 make[1]: Leaving directory `/usr/src/util-linux-2.10s/mount' make: *** [all] Error 1 I had done this before (in SuSE 6.4) without a hitch using exactly the same kernel and util-linux version. I am sure I am missing some files. I am using kernel 2.2.18, patch-int-2.2.18.3 and util-linux-2.10s. Thanks for any advice. GZ __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
Re: Newbie question : gnome, bash, and ppp [solved]
problem solved. After logging out and in, it worked. I guess I did not allow the change to take effect earlier. Thanks. GZ Gong Zeng wrote: Actually, I did both, i.e. adding the non-root user to both 'dialout' and 'dip'. The problem is still there. Could it be that I should not add the non-root user to the group manually and I should do it thru pppconfig instead? I couldn't test it out now as I'm using a windowz machine. GZ John Hasler wrote: Gong Zeng writes: thanks for your tips, all of them worked except for the dialing out part. I have included the non-root user to the 'dialout' group as you mentioned This is incorrect. You need to add the non-root user to the 'dip' group (pppconfig can do that). You will need to log out and back in for the change to take effect.
Re: xterm background color
For me, I simply add the paramters to the properties: xterm -fg white -bg black I think vim takes after the xterm so I guess if xterm has the black background then vim should do likewise. However, if you are referrring to gvim, refer to the manual or to the vim website: www.vim.org. You have to update your ~/.gvimrc file. GZ Titus Barik wrote: In Blackbox, both the xterm and xterm (unicode) terms have a black background. I recently switched to WMaker, and now the xterm background is white, while the xterm (unicode) is black. How do I make them both have a black background? Also, things like vim, when run from the Menu, also have a white background. I would like these to be black also like in Blackbox. I briefly looked through the wmakerconf program but didn't really see anything. Any suggestions? Titus Barik ([EMAIL PROTECTED]) AIM: TBarik ICQ: 1604453
Re: Newbie question : gnome, bash, and ppp
Actually, I did both, i.e. adding the non-root user to both 'dialout' and 'dip'. The problem is still there. Could it be that I should not add the non-root user to the group manually and I should do it thru pppconfig instead? I couldn't test it out now as I'm using a windowz machine. GZ John Hasler wrote: Gong Zeng writes: thanks for your tips, all of them worked except for the dialing out part. I have included the non-root user to the 'dialout' group as you mentioned This is incorrect. You need to add the non-root user to the 'dip' group (pppconfig can do that). You will need to log out and back in for the change to take effect.
Re: Newbie question : gnome, bash, and ppp
Hi, thanks for your tips, all of them worked except for the dialing out part. I have included the non-root user to the 'dialout' group as you mentioned (I double check by checking /etc/group) but the problem remains the same: there's a flash on the modem and that's it. The other thing is sawmill. I have raised the problem of not being able to get sawmill to work (select sawmill from list of windowmanagers but nothing happened) and you have replied to this. But I can't find your reply in my inbox, perhaps I have deleted it inadvertently. Could you let me have the solution again. Sorry for the inconvenience. And I heed your advice to have a more informative subject title [;-)] . GZ dman wrote: On Sat, Dec 01, 2001 at 08:55:12AM -0800, gong zeng wrote: | Hi, | I have the following queries: No problem, but a more informative subject line is a good idea. | 1. How do I make the gnome panel startup with X | windows? I can't seem to find such an option. How do you start X? Do you use [gxk]dm or login and type startx? In either case, putting 'gnome-session' into ~/.xsession should suffice. | Also, the menu item "log out" in the panel only kills the | panel. Shouldn't it allow me to exit X? It should not kill the X server if the X server was started independently. The way X starts is it runs ~/.xsession. ~/.xsession is just a shell script that will run the programs you want run at startup. The last one (your window manager, or 'gnome-session' in your case) should be run in the foreground. When that program terminates the X server terminates (because it sees no reason to run anymore). When you start X with 'gnome-session' in .xsession, doing a logout from the panel will actually quit X (because it makes gnome-session terminate). | 2. Possible to maximize a window to the edge of the | panel? Right now, the bottom boundary of the | maximized window is hidden behind the panel. In the control center, under "panel" in the "misc" tab there is a setting for whether you want the panel below, even, or above other windows. This only works for gnome-compliant window managers though. (I use sawfish). | 3. The gnome-terminal prompt shows "bash-2.03#" no | matter which directory I'm in. How do I make it | reflect the prompt I use in the bash shell; it shows | the directory I'm in. This is a bash issue, not gnome-terminal. In your ~/.bashrc put export PS1=" (\w) [EMAIL PROTECTED] [\!]$ " you can customize this to be whatever you want. | 4. How do I allow non-root user to dial to ISP through | pon? So far, I was only able to dial out as root; | pppd already setuid; so what am I missing here? Add the user(s) you want to be able to dial out to the 'dialout' group. | I'm using potato 2.2r4. Thanks in advance. In that case, pick 'sawmill' as the window manager. The name has since changed due to legal issues. -D
Re: Rãspuns: How do you access your floppy drive?
personally, I prefer not to use mtools as I'm more comfortable with Unix commands and do not mind doing a mount. Reena, if you want to stick to DOS-like commands and hate mounting the floppy everytime you change the floppy, get mtools. However, if the swapping of floppies are far and few in between and okay with mounting/umounting whenever you change the floppy (like myself), just issue the command: mount -t auto /dev/fd0 /a (to mount) umount /a (to unmount) Better still, insert a line in your /etc/fstab file: /dev/fd0 auto /a noauto 0 0 and you can mount /a (to mount) umount /a (to unmount) After the floppy is mounted, you can use any of the unix utilties like cp, mv. GZ Petre Daniel wrote: isnt there some mtools package? try "apt-get install mtools" or something.. then use commands like "mdir" "mcd" "mformat" "mcopy" "mdel" the full list you'll find out by issuing "mtools" command only, good luck. -Mesaj original- De la: Reena Mahbubani [mailto:[EMAIL PROTECTED] Trimis: Monday, December 03, 2001 2:43 PM Catre: debian-user@lists.debian.org Subiect: How do you access your floppy drive? Hi, I'm using Woody Debian Linux And I dont have the GUI installed. I was wondering how you access your floppy drive from the command line Also, How do you install the GUI? Any responses to either of these questions as soon as possible would be greatly appreciated. Thank you. Reena Mahbubani Co-Op, Bell Mobility, Technology Development 2920 Matheson Boulevard East, Mississauga, Ontario L4W 5J4 Tel: (905) 282-3172, Cell: (416) 523-7167 E-mail: [EMAIL PROTECTED], SMS: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Newbie question
Hi, I have the following queries: 1. How do I make the gnome panel startup with X windows? I can't seem to find such an option. Also, the menu item "log out" in the panel only kills the panel. Shouldn't it allow me to exit X? 2. Possible to maximize a window to the edge of the panel? Right now, the bottom boundary of the maximized window is hidden behind the panel. 3. The gnome-terminal prompt shows "bash-2.03#" no matter which directory I'm in. How do I make it reflect the prompt I use in the bash shell; it shows the directory I'm in. 4. How do I allow non-root user to dial to ISP through pon? So far, I was only able to dial out as root; pppd already setuid; so what am I missing here? I'm using potato 2.2r4. Thanks in advance. TH __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com
Re: mount ntfs question
The filesystem on the CD is not NTFS, it is iso9660. Try executing mount -t iso9660 /dev/cdrom /mnt/cdrom or mount -t auto /dev/cdrom /mnt/cdrom (I think this will take advantage of the MS Joliet extensions) Pls note that if you want to mount your NTFS partitions (on your harddisk), you have to recompile your kernel to include NTFS support. Gong Zeng At 11:03 PM 26/11/2001 -0800, jim R. wrote: Hi, i created a cdrom under win2k. now, i am trying to read it under the linux and it tells me: mount -f ntfs /dev/cdrom /mnt/cdrom I get: fs type ntfs is not supported under kernel. when i use other file systems in get medium not found. Jim __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Where is Netscape? Problem with Sawmill
Thanks for the tips. I would really prefer to have all the packages in the CDs rather than downloading them as I don't have a broadband connection. It seems that Woody has them; hopefully, Woody will be a stable release soon. At 11:05 PM 26/11/2001 -0500, dman wrote: On Tue, Nov 27, 2001 at 11:43:33AM +0800, Gong Zeeng wrote: | Hi, | I had just installed Debian 2.2r4 and have the following queries: | 1. Netscape | I installed netscape-base through dselect but I can't run Navigator. It | seems that only some config files were installed but not the executable | itself. I did a search in dselect and the only package that comes close to | Netscape is the netscape-base. Doesn't Debian (I got the 3-disk download | version) come with any Netscape package? Yeah, but you don't want to use it, trust me. The package would be version 4.something which is really old. There are newer browsers that are better. I recommend using galeon or mozilla, and getting them from sid or woody respectively. If you really want netscape 4 that badly, then you can work your way through the (ugly) package names to find the one(s) you want. (Here's a hint : 'apt-cache search netscape | less') | 2. Sawmill | The sawmill window manager doesn't seem to work. But I have no problem | with the other window manager like Enlightenment and Wmaker. What | gives? Basically, when I switch from Enlightenment (or any window manager | for that matter) to sawmill, I still remain in Enlightenment. And if | sawmill is installed as the only window manager, X shows the infamous wire | mesh. Try installing sawmill as the only window manager, then when you run X (do so from a console) run a terminal and from there run "sawmill". See if it works then, or see what errors you get in the terminal. In any case, sawmill is also outdated and I recommend getting sawfish (the new name, legal issues) from woody. I have version 0.38 installed right now (I think potato's sawmill is back at 0.20 or something) and I see that 1.0.1 is available. (This is weird, neither apt-get upgrade or apt-get dist-upgrade want to upgrade sawfish, but apt-get install will) | 3. GPM freezes the mouse pointer in X | When I installed GPM, the mouse pointer just freezes in X. It's okay when | I uninstall GPM. I am using a PS/2 mouse. Right, when you install gpm you no longer have X configured right. What happens is that you have 2 processes both trying to read from the same file, and that is bad (it is a race condition and unpredictable as to what data will go to which process). If you want to have gpm installed you need to tell X to read from /dev/gpmdata instead of the device itself. You must also make sure that gpm's repeat-type is set to 'raw' and you use the same protocol for both gpm and X. I have this setup and it works great (my mouse uses 'imps2' in gpm and "IMPS/2" in X). | 4. KDE support | Just wondering if Debian (future version) comes with KDE installation? I | still prefer KDE over GNOME. This probably depends on license issues, but since I like GNOME I really can't say. HTH, -D -- Even youths grow tired and weary, and young men stumble and fall; but those who hope in the Lord will renew their strength. They will soar on wings like eagles; they will run and not grow weary, they will walk and not be faint. Isaiah 40:31 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com