Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
подскажите, что нужно делать, чтобы быстро поднять сет
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
jodaka
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 129
Location: Russia, Togliatty

PostPosted: Fri Dec 03, 2004 4:16 pm    Post subject: подскажите, что нужно делать, что Reply with quote

у меня два компьютера связаны витой парой. Раньше, в винде я вручную прописал одному компу ip 192.168.0.1, второму 192.168.0.2, рабочую группу делал одинаковую, и компьютеры видели друг друга.
Сейчас мне нужно организовать доступ из/в винды/линукс.
Вопрос: в какой конфиг залезть, чтобы прописать 192.168.0.1 ?

P.S. дрова для сетевой карты (встроена в nforce2) я вкомпилил в ядро и dmesg говорит eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:04.0 (насколько я понял, сетевуха нашлась). Поставил самбу, поковырялся в её конфиге, настроил там разшареные каталоги, права доступа и прочее.
Back to top
View user's profile Send private message
Black_Daemon
n00b
n00b


Joined: 25 Nov 2004
Posts: 41
Location: Odessa

PostPosted: Fri Dec 03, 2004 4:31 pm    Post subject: Reply with quote

Здесь ставишь ip-шник:/etc/conf.d/net
потом /etc/init.d/net.eth0 restart
Back to top
View user's profile Send private message
jodaka
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 129
Location: Russia, Togliatty

PostPosted: Fri Dec 03, 2004 4:37 pm    Post subject: Reply with quote

я там пробовал писать
Code:
ifconfig_eth0=(
        "192.168.0.1 netmask 255.255.255.0"
)

после этого /etc/init.d/net start что-то даже стартует, но, ping 192.168.0.1 не удается
Back to top
View user's profile Send private message
Black_Daemon
n00b
n00b


Joined: 25 Nov 2004
Posts: 41
Location: Odessa

PostPosted: Fri Dec 03, 2004 4:52 pm    Post subject: Reply with quote

Вообщето там пишется:
Code:
iface_eth0="192.168.0.1 netmask 255.255.255.0 broadcast твой_броадкаст"
Back to top
View user's profile Send private message
jodaka
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 129
Location: Russia, Togliatty

PostPosted: Fri Dec 03, 2004 5:06 pm    Post subject: Reply with quote

спасибо, заработало :)

только я не знаю, что такое броадкаст... ?
Back to top
View user's profile Send private message
Black_Daemon
n00b
n00b


Joined: 25 Nov 2004
Posts: 41
Location: Odessa

PostPosted: Fri Dec 03, 2004 5:13 pm    Post subject: Reply with quote

В твоём конкретно случае он будет выглядеть так: 192.168.255.255
Broadcast это широковещательный запрос.
Back to top
View user's profile Send private message
jodaka
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 129
Location: Russia, Togliatty

PostPosted: Fri Dec 03, 2004 5:30 pm    Post subject: Reply with quote

спасибо дважды
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum