Re: OT: Help with simple Linux maintenance
I'm not sure I agree with your claim about old Actcom's staff. I know most of them (except one, I think) were not hired by Bezeq Int. Really? They assured me that the staff stayed, and I have gotten L-word help when I needed it. Netvision would not help me when I couldn't tell the nice young idiot on the phone which version of Windows Ubuntu is. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Bezeqint made me poof... he's gone
On Sunday 14 June 2009 14:34:50 Dotan Cohen wrote: Use a header 301 redirect only! It moves pagerank to the new page. Don't use javascript or meta redirects. I used Redirect permanent. No luck there. Yes, that's a 301. What do you mean by no luck? It didn't help. Google eventually lost the page rank for the old domain before the redirect and I had to slowly regain it. Well, I didn't measure type-in, but in May this year, I had 1,843 hits for shlomifish.org vs. 400,203 hits for www.shlomifish.org. Most people probably come to my site from links from other sites, so it should not be a major concern. That's almost two thousand people that you annoyed in May. Why? To teach them something? To change their habits? Not people - mostly bots: {{{ 64.34.195.145 - - [07/May/2009:07:12:18 +0300] GET / HTTP/1.1 200 694 - Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1; aggregator:Spinn3r (Spinn3r 3.0); http://spinn3r.com/robot) Gecko/20021130 VLOG=- }}} Most of the lines there are like this. Right. I've played with the idea of setting up a blog on my domain, but have neglected working on it, because it seems like too much maintenance. I also couldn't find a blog engine that I liked. Then port your livejournal RSS feed onto your sf.org domain. I already have it included as the main page: http://www.shlomifish.org/ With older items on the old news page: http://www.shlomifish.org/old-news.html I suppose I can also mirror the feed itself on http://www.shlomifish.org/ . I'll implement this suggestion when I'm in the mood. What do you mean by RSS pagerank? People linking to the URLs of the RSS/web- feeds themselves? Either that, or people adding them to Google Reader. I see. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ What Makes Software Apps High Quality - http://xrl.us/bkeuk God gave us two eyes and ten fingers so we will type five times as much as we read. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Bezeqint made me poof... he's gone
Yes, that's a 301. What do you mean by no luck? It didn't help. Google eventually lost the page rank for the old domain before the redirect and I had to slowly regain it. The only thing that you could have done here was to make sure that there was a redirect long before the old domain went cold. Not people - mostly bots: {{{ 64.34.195.145 - - [07/May/2009:07:12:18 +0300] GET / HTTP/1.1 200 694 - Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1; aggregator:Spinn3r (Spinn3r 3.0); http://spinn3r.com/robot) Gecko/20021130 VLOG=- }}} Most of the lines there are like this. Unless they get real annoying, I treat bots as users. At least they are honest enough to not forge an IE UA. Then port your livejournal RSS feed onto your sf.org domain. I already have it included as the main page: http://www.shlomifish.org/ With older items on the old news page: http://www.shlomifish.org/old-news.html Very good, and I see that you have an RSS feed as well. But get rid of the Atom feed! What is it there for? Do users really need to make that choice? Why don't you give them a choice of HTML 4.1 or XHTML 1.0 for the pages as well? I suppose I can also mirror the feed itself on http://www.shlomifish.org/ . I'll implement this suggestion when I'm in the mood. No, you _don't_ want different content on www.sf.org as on sf.org! Either serve the same content (and thus have the pagerank divided between two pages) or 301 one to the other. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Bezeqint made me poof... he's gone
On Monday 15 June 2009 13:11:44 Dotan Cohen wrote: Yes, that's a 301. What do you mean by no luck? It didn't help. Google eventually lost the page rank for the old domain before the redirect and I had to slowly regain it. The only thing that you could have done here was to make sure that there was a redirect long before the old domain went cold. I did. But it didn't help. Did you mean long after? Not people - mostly bots: {{{ 64.34.195.145 - - [07/May/2009:07:12:18 +0300] GET / HTTP/1.1 200 694 - Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1; aggregator:Spinn3r (Spinn3r 3.0); http://spinn3r.com/robot) Gecko/20021130 VLOG=- }}} Most of the lines there are like this. Unless they get real annoying, I treat bots as users. At least they are honest enough to not forge an IE UA. Yes, and I don't want bots to find anything on sf.org except for a link to www.shlomifish.org. As far as I'm concerned sf.org should not exist. Then port your livejournal RSS feed onto your sf.org domain. I already have it included as the main page: http://www.shlomifish.org/ With older items on the old news page: http://www.shlomifish.org/old-news.html Very good, and I see that you have an RSS feed as well. But get rid of the Atom feed! What is it there for? Do users really need to make that choice? Why don't you give them a choice of HTML 4.1 or XHTML 1.0 for the pages as well? Some people prefer Atom, and some clients only support RSS. Most people can make either choice reasonably (or they are not aware of the web-feeds technology at all). LiveJournal.com gives me both, so I point to both of them. I suppose I can also mirror the feed itself on http://www.shlomifish.org/ . I'll implement this suggestion when I'm in the mood. No, you _don't_ want different content on www.sf.org as on sf.org! Either serve the same content (and thus have the pagerank divided between two pages) or 301 one to the other. I want only http://www.shlomifish.org/ to exist. I want nothing on sf.org, and so far it seems to work. I don't get many hits to sf.org. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Rethinking CPAN - http://xrl.us/bjn7p God gave us two eyes and ten fingers so we will type five times as much as we read. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
cifs replacing smbfs - how to set up?
Up until recently I used to have smbfs mounts to all the development and some of the production servers in my company. I used to mount as a particular user in the host machine, and then every write, mode change, time set etc. was done as that user on the server side, and everything was pretty transparent to me. Recently, because I upgraded my machine, I was forced to stop using smbfs and change to cifs. It works well enough with windows machines, but when the host server is linux, I get nothing but grief. All I need is for it to behave as it used to - allow me to access all the files as a particular user on the server side. Instead, I get all sorts of strange errors. For example, when I use cvs update in a project mounted with cifs, I get the following: P sql/9_insert 16_lookup.sql cvs update: cannot change mode of sql/9_insert/16_lookup.sql: Permission denied On other times I get errors such as cannot set time. Or when I try to copy a file over an existing file on the mount: cp foo.bar 16_lookup.sql I get the result: cp: cannot create regular file `16_lookup.sql': No such file or directory The only way to copy over a file is to rm it and then do the cp. Can anybody guide me on how I should change the server side, or the mount command on my fstab, to be able to work smoothly? I tried setting /proc/fs/cifs/LinuxExtensionsEnabled (on the client side) to 0, but it makes no difference. There is no domain controller - each of the servers is set up with its own set of users, and the user I use for mounting is not necessarily the same as my local one, though on some occasions it is. Here is an example line from my fstab if it helps: //lindev5/herouth /home/herouth/lindev5 cifs rw,user,noauto,username=herouth,password=REMOVED,ip=192.168.34.246,uid=herouth,gid=herouth,iocharset=utf8,file_mode=0644,dir_mode=0755,setuids TIA, Herouth ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Bezeqint made me poof... he's gone
It didn't help. Google eventually lost the page rank for the old domain before the redirect and I had to slowly regain it. The only thing that you could have done here was to make sure that there was a redirect long before the old domain went cold. I did. But it didn't help. Did you mean long after? No, long before. The old domain has to 301 to the new domain for some time (I think at least until google recalculates PR, usually every six months), and of course Google has to see it. Yes, and I don't want bots to find anything on sf.org except for a link to www.shlomifish.org. As far as I'm concerned sf.org should not exist. Why not? What if I want to download your site to read offline on the train? What if some new search engine wants to rank you? And what about the real malicious bots, that fake the IE UA anyway? Would you not complain if a site would not show the Firefox UA a page, instead making you forge the IE UA? Very good, and I see that you have an RSS feed as well. But get rid of the Atom feed! What is it there for? Do users really need to make that choice? Why don't you give them a choice of HTML 4.1 or XHTML 1.0 for the pages as well? Some people prefer Atom, and some clients only support RSS. Most people can make either choice reasonably (or they are not aware of the web-feeds technology at all). LiveJournal.com gives me both, so I point to both of them. This choice only confuses users. What advantage does Atom give the user? No, you _don't_ want different content on www.sf.org as on sf.org! Either serve the same content (and thus have the pagerank divided between two pages) or 301 one to the other. I want only http://www.shlomifish.org/ to exist. I want nothing on sf.org, and so far it seems to work. I don't get many hits to sf.org. Then redirect it. People are going to link to it anyway, and people are going to type it into their browsers. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: cifs replacing smbfs - how to set up?
when i switched from smbfs to cifs - i added the 'domain=' parameter, and used the name defined on the samba server - and had no similar problems. did you try this? also, i didn't use the file_mode, dir_mode or setuids optoins, that you are using. i would try to remove them and see if there's any change. finally - what distribution+version is your client? the same for the linux server? this might be relevant information. --guy Herouth Maoz wrote: Up until recently I used to have smbfs mounts to all the development and some of the production servers in my company. I used to mount as a particular user in the host machine, and then every write, mode change, time set etc. was done as that user on the server side, and everything was pretty transparent to me. Recently, because I upgraded my machine, I was forced to stop using smbfs and change to cifs. It works well enough with windows machines, but when the host server is linux, I get nothing but grief. All I need is for it to behave as it used to - allow me to access all the files as a particular user on the server side. Instead, I get all sorts of strange errors. For example, when I use cvs update in a project mounted with cifs, I get the following: P sql/9_insert 16_lookup.sql cvs update: cannot change mode of sql/9_insert/16_lookup.sql: Permission denied On other times I get errors such as cannot set time. Or when I try to copy a file over an existing file on the mount: cp foo.bar 16_lookup.sql I get the result: cp: cannot create regular file `16_lookup.sql': No such file or directory The only way to copy over a file is to rm it and then do the cp. Can anybody guide me on how I should change the server side, or the mount command on my fstab, to be able to work smoothly? I tried setting /proc/fs/cifs/LinuxExtensionsEnabled (on the client side) to 0, but it makes no difference. There is no domain controller - each of the servers is set up with its own set of users, and the user I use for mounting is not necessarily the same as my local one, though on some occasions it is. Here is an example line from my fstab if it helps: //lindev5/herouth /home/herouth/lindev5 cifs rw,user,noauto,username=herouth,password=REMOVED,ip=192.168.34.246,uid=herouth,gid=herouth,iocharset=utf8,file_mode=0644,dir_mode=0755,setuids TIA, Herouth ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Help with simple Linux maintenance
Dotan Cohen wrote: I'm not sure I agree with your claim about old Actcom's staff. I know most of them (except one, I think) were not hired by Bezeq Int. Really? They assured me that the staff stayed, and I have gotten L-word help when I needed it. Netvision would not help me when I couldn't tell the nice young idiot on the phone which version of Windows Ubuntu is. as far as i was told - none of actcom's employees were initially signed by bezeq. it _could_ be that later on they acquired some of them back (i didn't follow this afterwards). i do know that the system people are certainly not actcom's people. --guy ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Help with simple Linux maintenance
She has a Linux laptop fully functional with Kbuntu 9.04. It is connected via Ethernet to a cable modem. The cable modem is working and the computer receives a cable IP . She has a Netvision account and the connect script was tested with a cable modem at my place and it worked. The script also worked when every command is cut, paste and executed in a root shell. But, running the script with sudo yield nothing. Gal, Maybe a much simpler solution for your friend will be to call the provider and tell them she is not interested in dialing them and wants a direct DHCP connection. No scripts, dialers, setup (well, DHCP), or anything like that, at no extra cost? I don't think I have ever used a dialer with broadband (i.e., from the moment I moved from dial-up to ADSL and then to cable), and if my memory betrays me and I did in the beginning, certainly not in many, many years. Frankly, I didn't even think dialers existed any more as a mainstream feature... IIRC, when I tried to re-hook with Netvision a couple of years ago they were in the process of merging with Barak, and told me that since they were merging the infrastructures if I wanted direct DHCP I had to get a Barak account. Now the two are the same company, right? and Netvision are thieves who want our money, not our business. They deserve neither. That may be true, and certainly they (well, Barak) want our business because of the money we pay, can't fault that, can we?... FWIW, Netvision have always (since 1996 for me) provided decent Linux support (not that I used it heavily), including dial scripts that I was offered but never used, etc. The trick is to call them and tell them on the phone that you have Linux, and you want to talk to someone knowledgeable. This always worked for me in the past, i.e., I was called back by someone reasonably proficient. Though I am still a Barak customer I don't call tech support much (well, DHCP just works), so I don't know if that changed after the merger. -- Oleg Goldshmidt | p...@goldshmidt.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: cifs replacing smbfs - how to set up?
On 15/06/2009, at 23:31, guy keren wrote: when i switched from smbfs to cifs - i added the 'domain=' parameter, and used the name defined on the samba server - and had no similar problems. did you try this? also, i didn't use the file_mode, dir_mode or setuids optoins, that you are using. i would try to remove them and see if there's any change. finally - what distribution+version is your client? the same for the linux server? this might be relevant information. My client distro is Mandriva 2009.0 - kernel 2.6.27.21-desktop-1mnb The server on that particular machine is Debian - kernel 2.6.18-6-686. All of our servers are debians, though not all are the same version. As for the domain argument - what should I set it to? I removed the file_mode and dir_mode parameters, but no help there - I still can't copy a file to an existing file. Removing them just makes the file permissions I get in ls be funny: Running ls -l on the client machine gives: total 8 -rwxrwSrwx 1 herouth herouth 121 2009-03-11 18:06 create_dev_pgsql.sql* -rwxrwSrwx 1 herouth herouth 125 2009-03-11 18:06 create_prod_pgsql.sql* drwxrwxrwx 1 herouth herouth 0 2009-03-17 15:51 CVS/ Running it on the server machine (connecting with ssh) gives: total 12 drwxr-xr-x 2 herouth herouth 4096 Mar 17 15:51 CVS -rw-r--r-- 1 herouth herouth 121 Mar 11 18:06 create_dev_pgsql.sql -rw-r--r-- 1 herouth herouth 125 Mar 11 18:06 create_prod_pgsql.sql Of course the permissions displayed on the client machine are ridiculous. Adding the file_mode and dir_mode parameters gives me normal permissions, which are similar most of the time to the real permissions. Further help would be appreciated. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Help with simple Linux maintenance
Hi Oleg, We tried to get a direct connection without a dialer, when we opened the account for her. Netvision although a few months after the merge with Barak, refused to give a Barak account with no dialer. I have a Barak account, no dialer, but they are not giving it any more ( the last time I checked) From time to time I get blocked, especially if I switch the hardware connected to the modem. Then I suppose to be automatically redirected to some portal to give my user and password. The last time It happened, I did not get redirected and I had to call the support team to find out what is going on. Only after we threaten to disconnect, we got a call form a Linux support guy, he gave me the portal direct URL. To all Barak DHCP cable users, if you get a real IP and you can ping your gateway, but nothing else, use this URL: https://212.150.75.203:38181/barakportal/ I guess I can buy a router, configure it and sent it to her, the problem is who will connect the right cables in the right place. Gal On Tuesday 16 June 2009 00:40:47 Oleg Goldshmidt wrote: She has a Linux laptop fully functional with Kbuntu 9.04. It is connected via Ethernet to a cable modem. The cable modem is working and the computer receives a cable IP . She has a Netvision account and the connect script was tested with a cable modem at my place and it worked. The script also worked when every command is cut, paste and executed in a root shell. But, running the script with sudo yield nothing. Gal, Maybe a much simpler solution for your friend will be to call the provider and tell them she is not interested in dialing them and wants a direct DHCP connection. No scripts, dialers, setup (well, DHCP), or anything like that, at no extra cost? I don't think I have ever used a dialer with broadband (i.e., from the moment I moved from dial-up to ADSL and then to cable), and if my memory betrays me and I did in the beginning, certainly not in many, many years. Frankly, I didn't even think dialers existed any more as a mainstream feature... IIRC, when I tried to re-hook with Netvision a couple of years ago they were in the process of merging with Barak, and told me that since they were merging the infrastructures if I wanted direct DHCP I had to get a Barak account. Now the two are the same company, right? and Netvision are thieves who want our money, not our business. They deserve neither. That may be true, and certainly they (well, Barak) want our business because of the money we pay, can't fault that, can we?... FWIW, Netvision have always (since 1996 for me) provided decent Linux support (not that I used it heavily), including dial scripts that I was offered but never used, etc. The trick is to call them and tell them on the phone that you have Linux, and you want to talk to someone knowledgeable. This always worked for me in the past, i.e., I was called back by someone reasonably proficient. Though I am still a Barak customer I don't call tech support much (well, DHCP just works), so I don't know if that changed after the merger. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: Help with simple Linux maintenance
On Tuesday 16 June 2009, Gal Goldschmidt wrote: Hi Oleg, We tried to get a direct connection without a dialer, when we opened the account for her. Netvision although a few months after the merge with Barak, refused to give a Barak account with no dialer. I have a Barak account, no dialer, but they are not giving it any more ( the last time I checked) Usually they refuse at the beginning, but when I say the magic word Linux, they sigh and give me the non-dialer account. This worked for the past 7 years or so. -y signature.asc Description: This is a digitally signed message part. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il