Jump to content

coverup

Members
  • Posts

    1277
  • Joined

  • Last visited

Posts posted by coverup

  1. Thanks, fuzzylizard.

     

    The problem with samba was that somewhere in smb.conf I originally had 192.168.0.1. Now this has become the router's IP address, and the server's IP address has become 192.168.0.2. (Well, that was true before I turned the laptop off and went to work :) ). As an interim solution, I changed that setting to 191.168.0.2, restarted samba, and I was able to share files and print again :D .

     

    As for keeping assigned addresses, the server runs on the laptop, so it's turned on and off every night. I expect that the IP address will change quite frequently.

     

    Is it possible to use name.domain rather then xxx.yyy.zzz.qqq in samba settings? There must be a way to resolve names on the samba networks, even though IPs are dynamically assigned.

  2. Ok, so it's

     

    WinPC <-> Linux [samba & FTP server] <-> remote computer (No 3).

     

    Since you run samba server, you can mount Windows HD to the Linux box. This file system will then appear to linux as a subdirectory in your home dir. You should be able to ftp files to it from the remote PC.

  3. It may be a simple thing, but I can't get it working...

     

    My laptop runs Linux MDK 6.1. I used to connect it to Win98 PC via crossover cable. Printing and file sharing was done via samba running on the laptop. The printer is connected to the Win98 PC and was accessible through the LAN.

     

    The laptop's eth0 IP address was 192.168.0.1, and Win98's IP was 192.168.0.2. All IPs were static.

     

    I now wish to connect to the internet through DSL and a router. The router comes preset with IP address 192.168.0.1, it dynamically assigns IPs to the laptop and to the Win98 box, so I now have to reconfigure samba server. One problem is that I need to tell my network that the server is now on 192.168.0.2, and I have to make the laptop to broadcast itself so it is visible to the Win98 box. Another problem is that the router may change this address to something else, Obviously, there should be a way to configure samba once and forever...

     

    Does anybody have a similar LAN? Any advice?

  4. However, I want to be the only one to be able to access the files on the server.

     

    Not sure, what you meen...

     

    You need to decide first, whether you wish to use samba or ftp, if you see what I mean...

     

    Samba allows to share filesystems. You can mount your linux home dir as e: device of your Windows pc, and, say, edit and save MS Office files directly to the linux box, or vice versa. There is no need to copy files from one computer across to another. In contrast, using FTP, you download files from the server and then have to upload them back.

     

    In samba, you can restrict access to your files to particular users from particular subnets. With ftp, you must be only user who has permissions to read/write your files (root will be able too, though, and you don't have anonymous ftp user, of course:)). BTW, sftp is more secure.

  5. Mandrakesoft has provided us with a much greater selection of How-To's in version 9.1 than we have had previously in the Documentation section of the Main Menu.  Also, we still have the Quick Start Guide, the Starter Guide and the Command Line Manual for v. 9.1.  The latter three are available in html and pdf formats and supercede the corresponding documents in our ftp area.  The book "Rute" is also available from the Documentation Section making access to it much easier.  This is as good or better than any available commercial offering and if you want to print it out, you'll only pay for paper and ink.  This effort from Mandrakesoft deserves a look from all and a reference to this rich source before questions are posted here.

     

    Counterspy

    It looks that online 9.1 docs available to club members only, is that right? I'd like to read docs before making decision whether 9.1 is worthwhile to upgrade to or not... Does anybody know, will Mandrakesoft post 9.1 docs on their site?
  6. From what I remember, if you activate ppp0 interface, the modem will start dialing.
    That's why I've always thought the "Do you want to activate this connection" was silly....because it's never dialed my modem :?: :roll: :wink: (it's not a winmodem either)

    Well, I used to dial in from my old MDK 6.1 laptop (linuxconf 1.16), no prob... That was a very polished distro, though :)

  7. in linuxconf>Control tab>Control Panel>ControlPPP/SLIP/PLIP links, if you clink on ppp1 it'll ask if you want to activate the network link. If this hasn't been done with ppp1, that could be the prob. I don't know if you can have 2 different pppx's active at one time or if this even works for your what you're trying to do.

    From what I remember, if you activate ppp0 interface, the modem will start dialing. Therefore, if the line is busy, an attempt to activate another ppp interface won't do any good. You can try to create two ppp interfaces, one for each ISP, but you'll have only one active at a time.

  8. If you have only one modem, it's unlikely ppp1 will work along with ppp0. Not sure about MDK 9.1, but in older versions of KDE, you could use kppp to setup different accounts. The accounts would use the same ppp0 interface, but you tell kppp to use different settings for different ISPs.

  9. Edit 2: I got it to work. Took a little playing with different things, but it works and the test page looks marvellous.

    Great. Nevertheless, take a minute to look at the samba configuration file smb.conf (on my system it's /etc/smb.conf) in particular, the section titled [printers].

  10. You have a home network, so I presume you run samba. Then, you can use samba to print to the printer connected to the Windows computer.

     

    On your notebook, add a network printer. You will be asked to add name and IP address of printer server, enter name and IP address of the windows computer. Of course, you must allow this printer to be shared (check its windows settings). Also, samba must be set to allow users on your notebook's subnet to share printers.

  11. emacs+ediff is a most powerful tool for comparing ascii files. You can easily move differences from one file to another in either direction, edit files on the fly, compile them, etc...

     

    > Are there any extras available to extend it's features?. Any skins?.

     

    If you like whistles and gadgets, checkout xemacs. I think it comes from a different team, but for basic things (latex, email, scripting) should have the same functionality.

  12. but I miss the exchange of data from emacs to Kdvi, very useful to find the position of an error in the emacs editor...

    Pardon my ignorance, how do you do that?

     

    If you installed auctex along with emacs, you can compile latex files within emacs, and then find positions of errors by simply hitting [Ctrl-C `] (no need to hit brackets, of course). Every time you hit [Ctrl-C `], emacs will inspect the .log file line by line and move the cursor to the line-column in the source file where the error occurred.

     

    Cheers.

    V.

  13. Just checking, if I did a right thing.

     

    The recent samba update provides a package called samba-server. On the other hand on my MDK 8.2 Powerpack CDs, the samba server is provided under the name samba.

     

    Can anybody explain, is that the same thing? I wouldn't notice but inconsistent names stumbled urpmi :) .

  14. Dose anyone know of any software that can look at two files (text/code) and tell you what has changed (if that makes any sence at all icon_redface.gif )

     

    file A is the origanal, file B is someone elses updated copy of file A, i just want to find out what they have added, or modified

     

    There was a tool in KDE, kdiff or something... I prefer using Emacs for this. It has a tool for comparing two or three text files. The differences are highlighted, you can move changes from one file to another if you like...

     

    V.

  15. Can anybody give a hint on how can I get rid of html formatting in incoming email? I've looked at several tools such as demime, but they remove all MIME stuff including attachments. Other are for servers, not for email clients.

     

    I don't want to get rid of all attachments, I need almost all of them. It's only when I read mail from home using elm or pine, html formatting becomes really annoying. Does anybody know a simple script that could be used with pine or elm to remove html rubbish? What about kmail or netscape?

     

    Thanks.

    Va.

  16. You certainly can save the driver on a floppy, then install it from the floppy. If the driver is offered as a tarball archived source it's better first copy it on the harddrive.

     

    If your notebook is connected to the network, you can always use lynx (the textmode web browser, you may need to install it) to browse the net in the textmode. You won't be able to view pictures, but sure you'll be able to download the driver directly to your notebook.

     

    V.

  17. Thanks, Yves and ramfree17.

    cat TARDIR/test.tar.gz* | tar xzpf -

    I'll give it a go tomorrow.

     

    Split did create test.tar.gzaa. I renamed it back to test.tar.gz. I guess, I shouldn't.

     

    Cheers.

    Val.

  18. Thanks, Yves.

     

    How do you now merge several tar.gzXX archives into one tar.gz file? Say, I tried this:

    $ tar czf - Testdir | split --bytes 650m - test.tar.gz
    
    $ mv test.tar.gzaa test.tar.gz
    
    $ tar tzvf test.tar.gz

    and got these messages along with the content of the archive

    gzip: stdin: decompression OK, trailing garbage ignored
    
    tar: Child returned status 2
    
    tar: Error exit delayed from previous errors

    What trailing garbage? Is the archive screwed up?

     

    Cheers,

    Val.

  19. 2 gb is a limitations of ext2 .... ReiserFS can go upto 12 gb (I thinK) and I don't know what ext3 can do.

    it got to do with blocksize's of node on your filesystem

     

    Not sure I understand this... I have a 20Gb ext3 partition to which I dump tar.gz backups of the 27Gb ext3 /home partition (I use two different harddrives). The files are about 2.5Gb each, and I think they are perfectly OK (well, I checked them before they exceeded 2GB).

     

    So, what implication does the above limitation imply? Is this the reason why the gfslicer does not work on them?

×
×
  • Create New...