Re: [gentoo-user] emerge time problem(resolved)/VPN & Samba & aut omount
On Wed, Nov 12, 2003 at 01:46:07PM -0800, [EMAIL PROTECTED] wrote: > In case anyone was curious what happened, I finally solved the problem. The > short version is that people see what they expect to see. I saw the date > listed as the correct time, month, and day, but the year was wrong. After > figuring out how to set the date, all further emerge commands have run as > expected without flaw and I have a completely working system.. Well > almost... > > My employer allows VPN connections. I have a VPN client that connects and > allows me to see that network. What I want to do is configure the > automounter to automount certain directories available from a Samba server > at work when I access files in that path. I have been spectacularly > unsuccessfull at getting that to happen. I have been able to accidentally > recursivley start deleting everything below "/" as root, and I can > > mount -t smbfs -o username=***,password=*** //proj/foo /proj/mnt/foo > > I can't seem to get a set of automounter files to do the same thing. It > chokes on the username/password pair giving the same error it gives for an > invalid username/password pair. I type them the same way. The catch is > that the username has a backslash, "\", in it. Anyone? > Assuming you're using bash, any one of the following should work: mount -t smbfs -o 'username=foo\bar',password=*** //proj/foo /proj/mnt/foo mount -t smbfs -o username='foo\bar',password=*** //proj/foo /proj/mnt/foo mount -t smbfs -o username=foo\\bar,password=*** //proj/foo /proj/mnt/foo Single quotes overrides shell expansion of variables and escape sequences -- which is where the '\' in your user name is causing problems. - PK > Related, does anyone know anything about having evolution only look at email > on a server at work when I have the VPN connection on? > > -Original Message- > From: Yakovac, Stony D > Sent: Monday, November 10, 2003 2:39 PM > To: [EMAIL PROTECTED] > Subject: RE: [gentoo-user] emerge time problem > > > I didn't set any CFLAGS on purpose. If some are set by default in make.conf > or added as a result of the install instructions, that is what I would have > picked up, of course I will double check that though. > > -Original Message- > From: Van Eps, Nathan D. (James Tower) [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 1:30 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [gentoo-user] emerge time problem > > > Did you have any dangerous CFLAGS in make.conf, like "-malign-double" and > "-ffast-math"? Have you tried to emerge emerge? > > Stick in there, someone on this list will be able to help ya! It took me a > couple of weeks to get everything to work for me. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 3:18 PM > To: [EMAIL PROTECTED] > Subject: [gentoo-user] emerge time problem > > > I am trying to get through my first install of Gentoo. It has gone very > roughly. I still do not have email from that computer and hence, cannot > cut-and-paste the exact error I am having, but, here goes... > > History--- > I downloaded and followed the instructions for a Gentoo install from the > gentoo website a few weeks ago. I made it through the first part where it > says I have a full system. Now I am trying to get a desktop manager to > work. I have finally been able to get twm to work, but, like the person who > wrote the document, I would rather have nearly anything than twm. In the > process somewhere between having a working system and getting graphics, > emerge stopped working. > > Problem-- > In brief, the error is that my system is "not sane". The specific error can > be seen by editing nearly any configure script in any of the builds and > finding where the script uses ls to check against the system time and see if > your system is "sane". After closer inspection, I see when the "tar -xvf" > step is run that every file is from the future. A long ways in the future. > I didn't do the math, but I would bet the executing process is believing it > is time 0 when it is running. > > What I have already tried-- > If I go into the build directory and touch the configure script, then run it > again, I can manually run the install process, e.g. "configure;gmake;gmake > install" When I type "date", it looks right to me. When I create files > they have the current time on them. I don't know what the problem is, but I > am guessing it is related to installing the desktop since that is all I have > done to change anything since the last time I saw emerge work. I have tried > "emerge rsync" which did not help. I have tried emerging other things, all > builds fail for the same reason. The build stops and tells me to check to > make sure my clock works. > > Frustrated venting-- > I am at a loss here because I don't know python, so I am shooting blind in > the emerge code, and sh is not my language of choice e
RE: [gentoo-user] emerge time problem(resolved)/VPN & Samba & aut omount
In case anyone was curious what happened, I finally solved the problem. The short version is that people see what they expect to see. I saw the date listed as the correct time, month, and day, but the year was wrong. After figuring out how to set the date, all further emerge commands have run as expected without flaw and I have a completely working system.. Well almost... My employer allows VPN connections. I have a VPN client that connects and allows me to see that network. What I want to do is configure the automounter to automount certain directories available from a Samba server at work when I access files in that path. I have been spectacularly unsuccessfull at getting that to happen. I have been able to accidentally recursivley start deleting everything below "/" as root, and I can mount -t smbfs -o username=***,password=*** //proj/foo /proj/mnt/foo I can't seem to get a set of automounter files to do the same thing. It chokes on the username/password pair giving the same error it gives for an invalid username/password pair. I type them the same way. The catch is that the username has a backslash, "\", in it. Anyone? Related, does anyone know anything about having evolution only look at email on a server at work when I have the VPN connection on? -Original Message- From: Yakovac, Stony D Sent: Monday, November 10, 2003 2:39 PM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] emerge time problem I didn't set any CFLAGS on purpose. If some are set by default in make.conf or added as a result of the install instructions, that is what I would have picked up, of course I will double check that though. -Original Message- From: Van Eps, Nathan D. (James Tower) [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:30 PM To: '[EMAIL PROTECTED]' Subject: RE: [gentoo-user] emerge time problem Did you have any dangerous CFLAGS in make.conf, like "-malign-double" and "-ffast-math"? Have you tried to emerge emerge? Stick in there, someone on this list will be able to help ya! It took me a couple of weeks to get everything to work for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 3:18 PM To: [EMAIL PROTECTED] Subject: [gentoo-user] emerge time problem I am trying to get through my first install of Gentoo. It has gone very roughly. I still do not have email from that computer and hence, cannot cut-and-paste the exact error I am having, but, here goes... History--- I downloaded and followed the instructions for a Gentoo install from the gentoo website a few weeks ago. I made it through the first part where it says I have a full system. Now I am trying to get a desktop manager to work. I have finally been able to get twm to work, but, like the person who wrote the document, I would rather have nearly anything than twm. In the process somewhere between having a working system and getting graphics, emerge stopped working. Problem-- In brief, the error is that my system is "not sane". The specific error can be seen by editing nearly any configure script in any of the builds and finding where the script uses ls to check against the system time and see if your system is "sane". After closer inspection, I see when the "tar -xvf" step is run that every file is from the future. A long ways in the future. I didn't do the math, but I would bet the executing process is believing it is time 0 when it is running. What I have already tried-- If I go into the build directory and touch the configure script, then run it again, I can manually run the install process, e.g. "configure;gmake;gmake install" When I type "date", it looks right to me. When I create files they have the current time on them. I don't know what the problem is, but I am guessing it is related to installing the desktop since that is all I have done to change anything since the last time I saw emerge work. I have tried "emerge rsync" which did not help. I have tried emerging other things, all builds fail for the same reason. The build stops and tells me to check to make sure my clock works. Frustrated venting-- I am at a loss here because I don't know python, so I am shooting blind in the emerge code, and sh is not my language of choice either, so the error, which occurs at the "./configure" step of emerge, is beyond me. I like gentoo so far EXCEPT the NASTY install. I have been at it for over two weeks now. I am not a raw beginner at building source, debugging software and or hardware, UNIX, or PCs. I went with Gentoo after my 8'th re-install of Mandrake in 4 weeks. I could only keep the system alive for that long. I found that Mandrake would lose its brains and become very unstable. I have not had any instability, but I can't say I have a functional computer yet either. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list