-
Posts
3587 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Steve Scrimpshire
-
-
You can add the commands to the end of /etc/rc.d/rc.local if you want. Also, if you are staying connected with your aDSL all the time, then I would strongly suggest a firewall. Bastille-netfilter seems to do the trick for me, but I could not get any other firewalls to work, although there are plenty that people will suggest.
-
It says, you just copy the files into your Quake directory, so I'm assuming you don't need a configure script or a makefile, you could just compile them and then copy them. But I'm kinda ignorant about these things and I can't get any of them to compile. Looking at the comments in the files themselves, it looks like it was intended that they be used with Windows Visual C++, but I don't think that matters. Maybe if you got a Borland C++ IDE and added all the files as a project, that may work. I'm just wild guessing, actually. I may try it later when I get home.
-
-
Right, you have to restart smbd and nmbd after making any modifications to smb.conf
-
Well, it has nothing to do with Windows refreshing the view of the network. I can look in /var/log/samba/nmbd.log and see something like this:
User 'nobody': Invalid user
(or something to that effect.) and then I can go into SWAT and go to Password and type in laluna and her password and then click 'Enable user' and VOILA, she can log in and the shares show up in Windows. I have to 'Enable User' quite often. Dunno what causes it.
-
Read my whole post before you actually follow any links in it
Go here and download the Alcatel driver:
http://www.speedtouchdsl.com/dvrreg_lx.htm
Open a shell (the little TV screen looking icon at the bottom of your screen) and type this (anything you see me type inside of [ ] is just a comment or an action, you don't actually have to type that...LOL):
su [enter] [enter your root password][enter]
Make sure there is a /usr/share/speedtouch/ directory on your system. If there is not, create it with:
mkdir /usr/share/speedtouch [enter]
Navigate to the directory where you put the downloaded tar file you just grabbed from the download site I sent you to (I'm gonna assume you put it in /home/omar/):
cd /home/omar [enter] tar -zxvf speedmgmt.tar.gz [enter] cd mgmt [enter] cp mgmt.o /usr/share/speedtouch[enter]
I don't care what you read on any site (even the one I'm gonna send you to), you don't need anything else...you won't have to download or run any other script/rpm. You will have to manually edit some files, though, as this suggests ( found at http://cvs.sourceforge.net/cgi-bin/viewcvs...ml?rev=1.1#pppd ):
Pppd configurationCheck your pppd version by typing :
# pppd --version.
Drivers are tested with pppd 2.4.0 and 2.4.1. They also run fine with older versions, per example pppd 2.3.11 shiped with the Potato Debian GNU/Linux.
To configure pppd, you'll have to edit 4 files.
1st file :
You should have an /etc/ppp/options file, edit it and keep these 4 lines in it (comment all extra lines with a #)
------------------ /etc/ppp/options Beginning -------------
noauth
usepeerdns
lock
noipdefault
------------------ /etc/ppp/options End ------------------
2nd file
Create /etc/ppp/peers/adsl :
# mkdir /etc/ppp/peers
# touch /etc/ppp/peers/adsl
Copy and paste what follows (without the "---" ;) )
-------------------/etc/ppp/peers/adsl Beginning------------
#
# This file could be rename but its place is under /etc/ppp/peers
# To connect to Internet using this configuration file
# pppd call adsl, where "adsl" stands for the name of this file
#
debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/bin/pppoa3 -m 1 -c -vpi 8 -vci 35"
sync
user "your_login_here"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns
------------------/etc/ppp/peers/adsl EOF------------------
If for an unknown reason pppoa3 failed, you can still try the old pppoa2 daemon. You should change the pty "/usr/local/bin/pppoa3 -m 1 -c -vpi 8 -vci 35" line by pty "/usr/local/bin/pppoa2 -vpi 8 -vci 35"
For more details about pppoa2/3, type "man pppoa3, man pppoa2".
Don't forget to adapt the vpi and vci values in the line :
pty "/usr/local/bin/pppoa2 -vpi 8 -vci 35"
Note about the VCI/VPI pair [ if you are hurry go to the next section ;^) ] :
As your connection goes through ATM, 2 new parameters appear :
VPI : Virtual Path ID
VCI : Virtual Circuit ID
What are their function ?
That's a good question. They are used to identify your Virtual Path Connection (VP) and your Virtual Circuit Connection (VC).
They simplify the network management, minimizing connection delays. They allow cell commutation too.
An ATM network looks like this :
VC--------|----|-------------|----|--------
VC--------| VP | | VP |--------
VC--------|----| Transmition |----|--------
| Path |
VC--------|----| |----|--------
VC--------| VP | | VP |--------
VC--------|----|-------------|----|--------
3rd file :
2 protocols can be used by providers to identify their users: CHAP or PAP.
Depending on your provider, edit /etc/ppp/chap-secrets or /etc/ppp/pap-secrets.
These fields look like this :
-------------------/etc/ppp/chap-secrets Begining--------------
# client server secret IP addresses
"your_login_here" "*" "your_password_here" "*"
-------------------/etc/ppp/chap-secrets End-------------------
If you don't know what protocol is used by your provider, you can fill in both files, it won't hurt.
4th file :
Edit /etc/modules.conf (or /etc/conf.modules if your system is a bit old) and add the following lines :
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
Some entries are useless, but once again they won't hurt !
You still have your shell open, right? And you're still logged in at the shell as root, right? Good. You're going to be editing files when they tell you. To do this, you'll have to edit them as root. The easiest way to get to them is to open konqueror as root (or galeon) and navigate to their directory and right click and select "Open with...">Applications>Editors>Advanced Editor. To open konqueror as root, in the shell type:
konqueror [enter]
since you're still logged in as root from what we did before.
In their instructions, you'll see this line in one of the files:
pty "/usr/local/bin/pppoa3 -m 1 -c -vpi 8 -vci 35"(For some versions of Mandrake, you may have to change it to "/usr/local/sbin/pppoa3....yadayada" instead. I don't know when or if you may have to do that, but if you've tried everything else, and it doesn't work, try that.)
The two numbers in bold are specific to your location. If you were in America, then the combination I put there is the right one. Unfortunately I can't remember the link to the common -vpi -vci number combos for different nations, but I can try to locate that for you.
After you are done editing all the files, then do this in the shell:
modem_run -m -f /usr/share/speedtouch/mgmt.o [enter] [wait for the modem to initialize and give you back a prompt] pppd call adsl [enter] [wait a few seconds to make sure you are connected] ifconfig [enter]
You should see a ppp0 interface with a real IP as well as a lo with 127.0.0.1
If you don't see the ppp0 interface, then first edit the files that have your username and password and if you put the @yourisp.com in there, take it off and try again. If you didn't put the @yourisp.com, put it in there and try again. Some providers want the whole email address and some don't.
Specifically for Mdk 8.2 and possibly 9.0
Do not under any circumstances run any of Mandrake's internet configuration tools to set up your account or it will break all the manual edits you did and you will have to go fix them.
Also, I believe that Harddrake and Kudzu have been known to foul things up.
I hope this helps.
-
-
That will disable the actions completely. I would like to just stop it from opening the actions when I highlight text in the address bar.
-
-
I just added Netscape 7.0 (was trying to find Netsape 6.0 which worked fine, but can't) and now Klipper opens up its options to "Open with...", etc whenever I highlight the text in Netscape's address bar. I went to Preferences > Actions > Advanced and added /usr/local/netscape/netscape and /usr/local/netscape/netscape-bin and restarted klipper and netscape and it still insists on doing that. Any idea? (I hope the question makes sense.)
-
BTW, I'm glad to see you around here Omar :D
Thanks. It's good to be back.
I think this did the trick. I won't know till I reboot and I can't right now because I'm d/l-ing a 40MB file on dialup and there is no resume on it...LOL....Man, I miss my DSL.
Thanks.
-
P.S. myservices also doesn't show up in MCC under System>Services. I've done this once before successfully and the new service showed up there.
-
I was attempting to speed up my boot time based on a post here:
http://www.mandrakeusers.org/viewtopic.php?p=5202#5202
So I wrote a script and made it executable. The script looks like this:
#!/bin/bash case $1 in start) ( sleep 1m; bash >/dev/null 2>&1 <<-FIN /etc/rc.d/init.d/arpwatch start /etc/rc.d/init.d/leafnode start /etc/rc.d/init.d/swat start /etc/rc.d/init.d/alsa start /etc/rc.d/init.d/anacron start /etc/rc.d/init.d/atd start /etc/rc.d/init.d/bastille-firewall start /etc/rc.d/init.d/crond start /etc/rc.d/init.d/dhcpd start /etc/rc.d/init.d/gpm start /etc/rc.d/init.d/harddrake start /etc/rc.d/init.d/ip6tables start /etc/rc.d/init.d/iptables start /etc/rc.d/init.d/ipvsadm start /etc/rc.d/init.d/kheader start /etc/rc.d/init.d/linuxconf start /etc/rc.d/init.d/medusa-init start /etc/rc.d/init.d/netfs start /etc/rc.d/init.d/ntpd start /etc/rc.d/init.d/portmap start /etc/rc.d/init.d/psacct start /etc/rc.d/init.d/random start /etc/rc.d/init.d/rawdevices start /etc/rc.d/init.d/smb start /etc/rc.d/init.d/sound start /etc/rc.d/init.d/squid start /etc/rc.d/init.d/usb start /etc/rc.d/init.d/vncserver start /etc/rc.d/init.d/webmin start FIN ) & ;; stop) /etc/rc.d/init.d/arpwatch stop /etc/rc.d/init.d/leafnode stop /etc/rc.d/init.d/swat stop /etc/rc.d/init.d/alsa stop /etc/rc.d/init.d/anacron stop /etc/rc.d/init.d/atd stop /etc/rc.d/init.d/bastille-firewall stop /etc/rc.d/init.d/crond stop /etc/rc.d/init.d/dhcpd stop /etc/rc.d/init.d/gpm stop /etc/rc.d/init.d/harddrake stop /etc/rc.d/init.d/ip6tables stop /etc/rc.d/init.d/iptables stop /etc/rc.d/init.d/ipvsadm stop /etc/rc.d/init.d/kheader stop /etc/rc.d/init.d/linuxconf stop /etc/rc.d/init.d/medusa-init stop /etc/rc.d/init.d/netfs stop /etc/rc.d/init.d/ntpd stop /etc/rc.d/init.d/portmap stop /etc/rc.d/init.d/psacct stop /etc/rc.d/init.d/random stop /etc/rc.d/init.d/rawdevices stop /etc/rc.d/init.d/smb stop /etc/rc.d/init.d/sound stop /etc/rc.d/init.d/squid stop /etc/rc.d/init.d/usb stop /etc/rc.d/init.d/vncserver stop /etc/rc.d/init.d/webmin stop ;; restart) /etc/rc.d/init.d/arpwatch restart /etc/rc.d/init.d/leafnode restart /etc/rc.d/init.d/swat restart /etc/rc.d/init.d/alsa restart /etc/rc.d/init.d/anacron restart /etc/rc.d/init.d/atd restart /etc/rc.d/init.d/bastille-firewall restart /etc/rc.d/init.d/crond restart /etc/rc.d/init.d/dhcpd restart /etc/rc.d/init.d/gpm restart /etc/rc.d/init.d/harddrake restart /etc/rc.d/init.d/ip6tables restart /etc/rc.d/init.d/iptables restart /etc/rc.d/init.d/ipvsadm restart /etc/rc.d/init.d/kheader restart /etc/rc.d/init.d/linuxconf restart /etc/rc.d/init.d/medusa-init restart /etc/rc.d/init.d/netfs restart /etc/rc.d/init.d/ntpd restart /etc/rc.d/init.d/portmap restart /etc/rc.d/init.d/psacct restart /etc/rc.d/init.d/random restart /etc/rc.d/init.d/rawdevices restart /etc/rc.d/init.d/smb restart /etc/rc.d/init.d/sound restart /etc/rc.d/init.d/squid restart /etc/rc.d/init.d/usb restart /etc/rc.d/init.d/vncserver restart /etc/rc.d/init.d/webmin restart ;; esac
rc3.d and
I put it in /etc/rc.d/init.d. I then placed a symlink in /etc/rc.d/rc3.d and /etc/rc.d/rc5.d to run it at bootlevel 3 and 5:
lrwxrwxrwx 1 root root 20 Dec 30 03:24 S02myservices -> ../init.d/myservices*
At boot time, it shows that it starts, but half the stuff in the script doesn't start (smb, linuxconf, webmin, lo, vncserver). What did I do wrong? Here is the file list of /etc/rc.d/init.d:
[root@omar init.d]# ls -l total 280 -rwxr-xr-x 1 root root 6610 Dec 18 22:48 alsa* -rwxr-xr-x 1 root root 1191 Dec 18 22:48 anacron* -rwxr-xr-x 1 root root 1459 Dec 18 22:48 apmd* -rwxr-xr-x 1 root root 725 Dec 18 22:48 arpwatch* -rwxr-xr-x 1 root root 1177 Dec 18 22:48 atd* -r-x------ 1 root root 2383 Dec 24 23:54 bastille-firewall* -rwxr-xr-x 1 root root 1316 Dec 18 22:48 crond* -rwxr-xr-x 1 root root 2199 Dec 18 22:48 dhcpd* -rwxr-xr-x 1 root root 12868 Dec 18 22:48 functions* -rwxr-xr-x 1 root root 1468 Dec 18 22:48 gpm* -rwxr-xr-x 1 root root 5664 Dec 18 22:48 halt* -rwxr-xr-x 1 root root 1078 Dec 18 22:48 harddrake* -rwxr-xr-x 1 root root 5307 Dec 18 22:48 httpd* -rwxr-xr-x 1 root root 1750 Dec 18 22:48 innd* -rwxr-xr-x 1 root root 1043 Dec 18 22:48 internet* -rwxr-xr-x 1 root root 5549 Dec 24 18:49 ip6tables* -rwxr--r-- 1 root root 928 Dec 18 22:48 iplog* -rwxr-xr-x 1 root root 5528 Dec 24 18:49 iptables* -rwxr-xr-x 1 root root 2421 Dec 18 22:48 ipvsadm* -rwxr-xr-x 1 root root 2432 Dec 18 22:48 keytable* -rwxr-xr-x 1 root root 1687 Dec 18 22:48 kheader* -rwxr-xr-x 1 root root 487 Dec 18 22:48 killall* -rwxr-xr-x 1 root root 2334 Dec 18 22:48 kudzu* -rwxr-xr-x 1 root root 710 Dec 18 22:48 linuxconf* -rw-r--r-- 1 root root 318 Dec 18 22:48 mandrake_consmap -rwxr-xr-x 1 root root 2420 Dec 18 22:48 mandrake_everytime* -rwxr-xr-x 1 root root 1074 Dec 18 22:48 mandrake_firstime* -rwxr-xr-x 1 root root 1210 Dec 18 22:48 medusa-init* -rwxr-xr-x 1 root root 3015 Dec 30 04:45 myservices* -rwxr-xr-x 1 root root 3015 Dec 30 04:24 myservices2* -rwxr-xr-x 1 root root 4294 Dec 18 22:48 mysql* -rwxr-xr-x 1 root root 1791 Dec 24 23:54 named* -rwxr-xr-x 1 root root 4026 Dec 18 22:48 netfs* -rwxr-xr-x 1 root root 8450 Dec 18 22:48 network* -rwxr-xr-x 1 root root 3085 Dec 18 22:48 nfs* -rwxr-xr-x 1 root root 1956 Dec 18 22:48 nfslock* -rwxr-xr-x 1 root root 1228 Aug 28 2001 ntpd* -rwxr-xr-x 1 root root 1079 Dec 18 22:48 numlock* -rwxr-xr-x 1 root root 1086 Dec 18 22:48 portmap* -rwxr-xr-x 1 root root 1175 Dec 18 22:48 postfix* -rwxr-xr-x 1 root root 4225 Dec 18 22:48 postgresql* -rwxr-xr-x 1 root root 545 Dec 18 22:48 psacct* -rwxr-xr-x 1 root root 1557 Dec 18 22:48 random* -rwxr-xr-x 1 root root 2346 Dec 18 22:48 rawdevices* -rwxr-xr-x 1 root root 1636 Dec 18 22:48 single* -rwxr-xr-x 1 root root 1780 Dec 18 22:48 smb* -rwxr-xr-x 1 root root 2315 Dec 18 22:48 sound* -rwxr-xr-x 1 root nobody 2787 Dec 18 22:48 squid* -rwxr-xr-x 1 root root 2434 Dec 18 22:48 sshd* -rwxr-xr-x 1 root root 3588 Dec 18 22:48 sympa* -rwxr--r-- 1 root root 2009 Dec 24 23:54 syslog* -rwxr-xr-x 1 root root 6091 Dec 18 22:48 usb* -rwxr-xr-x 1 root root 1706 Dec 18 22:48 vncserver* -rwxr-xr-x 1 root root 1354 Dec 18 22:48 webmin* -rwxr-xr-x 1 root root 666 Dec 18 22:48 wine* -rwxr-xr-x 1 root root 986 Dec 18 22:48 xfs* -rwxr-xr-x 1 root root 2445 Dec 18 22:48 xinetd*
TIA,
-
You also need to adjust your settings in the properties of your card on your other box. You also need to make sure /proc/sys/net/ipv4 is set to 1. You can do this with InteractiveBastille as root, I think. It walks you through a whole bunch of questions. You can also set up ICS in MCC under Network & Internet, but I couldn't because my card was not listed.
-
I don't know about the Control Center, but here is my /etc/dhcpd.conf:
authoritative; ddns-update-style none; # My Linux's ehternet card's IP/Subnet mask # default gateway option routers 192.168.0.1; option subnet-mask 255.255.255.0; # Hostname of of my Linux box and Domain nameservers of my ISP option domain-name "omar.serenity.home"; option domain-name-servers 205.171.3.65; option ip-forwarding on; # This section would be used if you are sharing with more than one computer to assign # different IPs to each. Not really needed on mine, I don't think subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.16 192.168.0.253; default-lease-time 21600; max-lease-time 43200; } # This is the hostname of my Windows box that uses DHCPD to obtain it's Static IP # The hardware address is found under network, highlight your Ethernet TCP-IP and click # "Properties" host 6v0k10b { hardware ethernet 00:20:78:f0:2a:25; fixed-address 192.168.0.2; }
Setup dhcpd to run at boot. I hope this helps. There is also a Wizard for MCC for 8.1 (maybe that's what is installed in 9.0 by default under Servers?)
-
smbusers:
laluna = laluna omar = omar
lmhosts:
127.0.0.1 localhost omar 192.168.0.1 omar 192.168.0.253 laluna 192.168.0.2 laluna
TIA
Steve
-
For some reason, frequently I have to go back into SWAT and reenable my Windows user to enable my Win98SE computer to see the Linux shares accessible by them. Does anyone know what causes this and how to prevent it or is it normal?
Here is my smb.conf (laluna is my Win98 user):
# Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2002/12/28 19:43:23 # Global parameters [global] netbios name = OMAR netbios aliases = omar server string = Samba Server %v interfaces = 192.168.0.1/255.255.255.0 encrypt passwords = Yes update encypted = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 printcap name = lpstat local master = No wins server = 192.168.0.1 default service = homes path = /home/public valid users = omar laluna hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1 192.168. printing = cups [homes] comment = Home Directories path = /home/%u read only = Yes hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1 192.168.255.255 192.168.0.2 [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. lpq command = lpstat -o %p lprm command = cancel %p-%j browseable = No [Linux] comment = Linux path = /
Relevant smbpasswd lines:
omar:501:<<encrypted password>>:[UN ]:LCT-3E01471D laluna:502:<encrypted password:[U ]:LCT-3E0F43C1:
smbusers:
pted = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 printcap name = lpstat local master = No wins server = 192.168.0.1 default service = homes path = /home/public valid users = omar laluna hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1 192.168. printing = cups [homes] comment = Home Directories path = /home/%u read only = Yes hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1 192.168.255.255 192.168.0.2 [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. lpq command = lpstat -o %p lprm command = cancel %p-%j browseable = No [Linux] comment = Linux path = /
Relevant smbpasswd lines:
omar:501:<<encrypted password>>:[UN ]:LCT-3E01471D laluna:502:<encrypted password:[U ]:LCT-3E0F43C1:
smbusers:
pted = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 printcap name = lpstat local master = No wins server = 192.168.0.1 default service = homes path = /home/public valid users = omar laluna hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1 192.168. printing = cups [homes] comment = Home Directories path = /home/%u read only = Yes hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1 192.168.255.255 192.168.0.2 [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. lpq command = lpstat -o %p lprm command = cancel %p-%j browseable = No [Linux] comment = Linux path = /
Relevant smbpasswd lines:
omar:501:<<encrypted password>>:[UN ]:LCT-3E01471D laluna:502:<encrypted password:[U ]:LCT-3E0F43C1:
-
Thanks. I'm not quite ready to go with Mandrake 9.0 yet. The mandrake kernels don't jive with my MoBo among other problems. Anyway, I got this working. It turns out that I had done everything right, except the version of iptables that I was using conflicted with the 2.4.20 kernel I had installed. I upgraded iptables (with alot of effort) and voila, I am sharing my internet connection. Samba was a little easier...just a stupid mistake on my part of not allowing any users...LOL.
-
Ok. I know I'm close. I can ping 192.168.0.1 from the Windows computer and I can ping the Windows computer by netbios name, but I can't ping the server (Linux box) from the Windows computer by name. Actually, I'm not even sure what the netbios name for my Linux box actually is. In Windows it says that it is 'Computer' but I'm not sure what to put for it in my config files for Samba or DHCP and what I should have in my /etc/hosts file.
-
Ok, I put this at the end of /etc/rc.d/rc.local:
/sbin/ifconfig eth0 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 dhcpd
and this is what I get when I run ifconfig eth0 (on the Linux box, of course):
eth0 Link encap:Ethernet HWaddr 00:20:78:F0:42:23 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3982 errors:2 dropped:0 overruns:0 frame:8 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:298833 (291.8 Kb) TX bytes
On the Windows box, when I do winipcfg:
IP Autoconfiguration address: 192.168.0.253
Mask: 255.255.255.0
Here are some things that appear to be relevant in my syslog of the Linux box:
Dec 21 15:44:58 localhost dhcpd: DHCPDISCOVER from 00:20:78:f0:2a:25 via eth0 Dec 21 15:44:59 localhost dhcpd: DHCPOFFER on 192.168.0.253 to 00:20:78:f0:2a:25 (6V0K10B) via eth0 Dec 21 15:44:59 localhost dhcpd: DHCPREQUEST for 192.168.0.253 (192.168.0.1) from 00:20:78:f0:2a:25 (6V0K10B) via eth0 Dec 21 15:44:59 localhost dhcpd: DHCPACK on 192.168.0.253 to 00:20:78:f0:2a:25 (6V0K10B) via eth0 Dec 21 15:53:40 localhost dhcpd: DHCPINFORM from 192.168.0.253 via eth0: not authoritative for subnet 192.168.0.0 Dec 21 16:10:36 localhost dhcpd: Listening on LPF/eth0/00:20:78:f0:42:23/192.168.0.0/24 Dec 21 16:10:36 localhost dhcpd: Sending on LPF/eth0/00:20:78:f0:42:23/192.168.0.0/24 Dec 21 16:18:59 localhost dhcpd: Listening on LPF/eth0/00:20:78:f0:42:23/192.168.0.0/24 Dec 21 16:18:59 localhost dhcpd: Sending on LPF/eth0/00:20:78:f0:42:23/192.168.0.0/24 Dec 21 16:23:25 localhost dhcpd: Listening on LPF/eth0/00:20:78:f0:42:23/192.168.0.0/24 Dec 21 16:23:25 localhost dhcpd: Sending on LPF/eth0/00:20:78:f0:42:23/192.168.0.0/24
(6V0K10B is my Windows box)
Here's some other possibly useful stuff:
[root@localhost omar]# ping 192.168.0.253 PING 192.168.0.253 (192.168.0.253) from 192.168.0.1 : 56(84) bytes of data. 64 bytes from 192.168.0.253: icmp_seq=0 ttl=128 time=1.122 msec 64 bytes from 192.168.0.253: icmp_seq=1 ttl=128 time=641 usec 64 bytes from 192.168.0.253: icmp_seq=2 ttl=128 time=660 usec 64 bytes from 192.168.0.253: icmp_seq=3 ttl=128 time=661 usec --- 192.168.0.253 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/mdev = 0.641/0.771/1.122/0.202 ms [root@localhost omar]# traceroute 192.168.0.253 traceroute to 192.168.0.253 (192.168.0.253), 30 hops max, 38 byte packets 1 192.168.0.253 (192.168.0.253) 0.754 ms 1.300 ms 0.545 ms
And I can ping 192.168.0.1 from the Windows box.
-
I have not found a post that helps me the way I need help. Everything is a little more than basic, so please don't flame me for this question. If there is a post that explains it easy, please point me to it.
Here's my setup:
One Linux Mandrake 8.1 (2.4.20 kernel) and one Win98SE computer. Both have Linksys Home Phoneline network cards in them. The internet connection is strictly dialup. I'd rather have my Linux box be the server. I have no idea where to begin.
Idealistically, I'd like to have it so that the server listens for the other box to want to connect (open IE or whatever) and connects and then disconnects when the user closes IE or logs off somehow manually. I think my iptables is a little screwed up (had this problem before, I think it has something to do with the options or modules in my kernel and it was a pain to get the kernel configured to recognize my card). I've tried to use MCC, but it always gives me a list of cards to choose from and my card is not on that list. I had to download a driver from Linksys specifically for it.
I've tried to do
ifup eth0
but it tells me that it failed...probably having something to do with not having a DNS server configured or something.
I'm totally clueless where to begin and have nothing newbie-ized enough to make it clear to me. Also learning more about filesharing would be great, too.
TIA
Steve Scrimpshire
(Formerly known as Omar Serenity)
-
Thanks. This got it to recognize my card. Now my challenge is to configure Samba and Connection Sharing between this and my Windows 98 computer and I have no clue where to start. Thanks for this help.
-
In case anyone can still help me, I think it has something to do with the fact that, in Windows 98SE, my ethernet card shares an IRQ with my soundcard (IRQ 9) and I think one other device. It shows my soundcard in Linux as having IRQ 9 and I don't know if it is possible to share resources in Linux. Is there a command I can give with modprobe to load the driver and have it share the IRQ or use another (I know this is probably an ignorant question)?
(Part of the modprobe error does say 'Device or resource busy')
Thanks again.
-
Hi,
I have Mandrake 8.1 and was using a vanilla 2.4.18 kernel because the Mandrake 2.4.x kernels won't boot on my machine because of the Kadoka MoBo. Anyway, one alternate Linux distribution site (VooDoo) said that this card could work with the pcnet32.o drivers. I tried to compile that module into the running kernel I had and then modprobe pcnet32 but it said 'insmod failed....YADAYADA....could be bad I/O or IRQ values'. I have tried changing PCI slots but to no avail. It works in Windows98SE no matter which slot I try it in (the docs on the card said that it had to be a master slot and that newer machines like mine probably have all slots act as master). It showed up under 'Other devices' as unknown in my 2.4.18 kernel, but I could not view /proc/bus/* (apparently because of some option I compiled into the kernel that placed nothing useful there). Anyway...I was going to reinstall Linux anyway due to various other problems I created for myself and I hoped that it would recognize the card for me, but no dice.
Does anyone have any suggestions?
TIA
Steve
compiling source with no safety net
in Software
Posted
Well, like I said, I was pretty much clueless about what I was talking about. The makefile, it was my impression was to tell the compiler what headers went with what *.c file and then where to place the *.o file or whatever. I'd been playing around with the Borland IDE in Windows while trying to learn C++ and wrote and compiled several (simple) programs with several different *.c files and *.h files...I just wrote the files and then saved them to a particular 'project' and then told the Borland IDE to compile the project. It had several library paths already known to it (is my understanding) and the place where the project was stored was one of those, so theoretically, I thought, an IDE similar in Linux might do the trick for you. Once again, I am clueless about what I'm talking about, but I thought that was how it worked...basically the IDE creating it's own Makefile. (I know people are out there thinking how moronic I sound....LOL)