du har samma gateway som netmask, testa och byt gateway.
------------------
\\Mattias
communication breakdown..
Linux & BSDur Mac OS, Unix, Linux & BSD
3 svar · 125 visningar · startad av zipp3r
Var tvungen att installera om linux igen men får nu inte näteverket att funka kortet är installerat och det går bra att pinga det...
här är mina filer... kör corel linux v.1.0
Min /etc/init.d/network fil
#! /bin/sh
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
DEVICE=eth0
NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=efraim
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=255.255.255.0
DEVICE=eth0
/sbin/ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
/sbin/route add -net ${NETWORK}
[ "${GATEWAY}" ] && /sbin/route add default gw ${GATEWAY} metric 1
och min /etc/samba/smb.conf fil
; /etc/smb.conf
;
; Sample configuration file for the Samba suite for Debian GNU/Linux
;
; Please see the manual page for smb.conf for detailed description of
; every parameter.
;
[global]
printing=bsd
printcap name=/etc/printcap
load printers=yes
guest account=nobody
invalid users=root
security=SHARE
workgroup=lorken
server string=efraim
socket options=IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
encrypt passwords=yes
wins support=no
os level=0
domain master=no
local master=no
preferred master=no
name resolve order=lmhosts host wins bcast
dns proxy=no
preserve case=yes
short preserve case=yes
unix password sync=false
passwd program=/usr/bin/passwd %u
passwd chat=*New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Password\schanged.* .
max log size=1000
case sensitive=no
[homes]
comment = Home Directories
browseable = no
; By default, the home directories are exported read only. Change next
; parameter to "no" if you want to be able to write to them.
read only = yes
; File creation mask is set to 0700 for security reasons. If you want to
; create files with group=rw permissions, set next parameter to 0775.
create mask = 0700
; Directory creation mask is set to 0700 for security reasons. If you want to
; create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
; A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
;
; The next two parameters show how to auto-mount a CD-ROM when the
; cdrom share is accesed. For this to work /etc/fstab must contain
; an entry like this:
;
; /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
;
; The CD-ROM gets unmounted automatically after the connection to the
;
; If you don't want to use auto-mounting/unmounting make sure the CD
; is mounted on /cdrom
;
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
------------------
signatur?
du har samma gateway som netmask, testa och byt gateway.
------------------
\\Mattias
communication breakdown..
men jag har haft det förut har jag för mej...
men vad är standard gateway i windows då?
------------------
signatur?
Testa samma som din ip-adress. Annars vet jag inte.
------------------
\\Mattias
communication breakdown..