LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Why my network not work under my slackware? (https://www.linuxquestions.org/questions/linux-networking-3/why-my-network-not-work-under-my-slackware-4175412432/)

kcynice 06-20-2012 05:43 AM

Why my network not work under my slackware?
 
This is not my first chance of using linux, but this is the most difficult problem I encountered.
I installed a clear slackware linux on my working pc(im a new employee here). But it can't access any online PCs, including the gateway. The strange story is, the network is OK for my Windows system( my working computer has a pre-installed windows xp OS) with the same network configuration.

Any idea?

tronayne 06-20-2012 07:27 AM

You need to know a few things -- first, is the network you're trying to connect to DHCP or fixed-IP? In a Windows-based network it's most likely DHCP, but it could be fixed-IP (not usually, just maybe).

Slackware does network configuration with a utility, netconfig, which you execute (once) logged in as root (or with su - or with sudo). If your network is DHCP, choose that and you're done (reboot the system after any of these changes).

If it's fixed-IP then you need to answer a few questions when running netconfig:
  • The address of the gateway,
  • The address of your computer,
  • The netmask.
  1. The address of the gateway is numeric of the form xxx.xxx.x.x; e.g., 192.168.1.1.
  2. The address of your computer is numeric of the form xxx.xxx.x.x; e.g., 192.168.1.10.
  3. The netmaks is numeric of the form xxx.xxx.xxx.x; e.g., 255.255.255.0 would be typical.

You'll need to check with the network administrator to find out what those are for fixed-IP.

Go take a look at http://www.slackbook.org/html/networ...iguration.html in the Slackware Essentials book (which is on your distribution media as well).

Hope this helps some.

kcynice 06-20-2012 10:40 PM

Oh, yes. I use netconfig as root to config my network as fixed-IP. I config it as under windows XP:
IP,netmask,gateway, etc.
Im in a office network. I want to know if the network administrator can deny any none-windows client to use the office network?
If so, how should I can by-pass that role?

cospengle 06-21-2012 08:50 AM

Quote:

Originally Posted by kcynice (Post 4708196)
Im in a office network. I want to know if the network administrator can deny any none-windows client to use the office network?
If so, how should I can by-pass that role?

Why don't you ask the network administrator?

catkin 06-21-2012 09:01 AM

When you write "it can't access any online PCs, including the gateway", how are you trying to access them and what are the results? ping? HTTP/S browsing? CIFS browsing? By IP address or by name?

Does the output from ifconfig and netstat -n confirm that netconfig has had the intended effect?

kcynice 07-03-2012 01:31 AM

Quote:

Originally Posted by cospengle (Post 4708540)
Why don't you ask the network administrator?

He is so busy that such issues will be ignore( In fact, he want all employees use windows OS).

kcynice 07-03-2012 01:33 AM

Quote:

Originally Posted by catkin (Post 4708549)
When you write "it can't access any online PCs, including the gateway", how are you trying to access them and what are the results? ping? HTTP/S browsing? CIFS browsing? By IP address or by name?

Does the output from ifconfig and netstat -n confirm that netconfig has had the intended effect?

1. ping: If ping is failed, any access would be succeeded?
2. output:
bash-4.1$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 01:E4:6C:99:F0:CB
inet addr:10.80.200.154 Bcast:10.80.203.255 Mask:255.255.252.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)

bash-4.1$ ping 10.80.200.2
PING 10.80.200.2 (10.80.200.2) 56(84) bytes of data.
From 10.80.200.154 icmp_seq=2 Destination Host Unreachable
From 10.80.200.154 icmp_seq=3 Destination Host Unreachable
From 10.80.200.154 icmp_seq=4 Destination Host Unreachable
^C
--- 10.80.200.2 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
pipe 3

bash-4.1$ netstat -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 2736 @/org/kernel/udev/udevd
unix 2 [ ] DGRAM 10968 @/org/freedesktop/hal/udev_event
unix 7 [ ] DGRAM 10476 /dev/log
unix 3 [ ] STREAM CONNECTED 11510 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 3660
unix 3 [ ] STREAM CONNECTED 3656 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11509
unix 3 [ ] STREAM CONNECTED 3652 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11496
unix 3 [ ] STREAM CONNECTED 5480 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11493
unix 3 [ ] STREAM CONNECTED 3645 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11492
unix 3 [ ] STREAM CONNECTED 5478 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11491
unix 3 [ ] STREAM CONNECTED 3643 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11490
unix 3 [ ] STREAM CONNECTED 3641 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 3640
unix 3 [ ] STREAM CONNECTED 3620 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11420
unix 2 [ ] DGRAM 7643
unix 3 [ ] STREAM CONNECTED 11416 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 3610
unix 3 [ ] STREAM CONNECTED 3608 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11415
unix 3 [ ] STREAM CONNECTED 3601
unix 3 [ ] STREAM CONNECTED 3600
unix 3 [ ] STREAM CONNECTED 11364 /tmp/scim-bridge-0.3.0.socket-1000@localhost:0.0
unix 3 [ ] STREAM CONNECTED 3599
unix 3 [ ] STREAM CONNECTED 11363
unix 3 [ ] STREAM CONNECTED 11362
unix 3 [ ] STREAM CONNECTED 3598 /tmp/scim-panel-socket:0-kcynice
unix 3 [ ] STREAM CONNECTED 11361
unix 3 [ ] STREAM CONNECTED 11359
unix 3 [ ] STREAM CONNECTED 11358
unix 3 [ ] STREAM CONNECTED 5462 /tmp/scim-socket-frontend-kcynice
unix 3 [ ] STREAM CONNECTED 11357
unix 3 [ ] STREAM CONNECTED 5461 /tmp/scim-socket-frontend-kcynice
unix 3 [ ] STREAM CONNECTED 11356
unix 2 [ ] STREAM 11350
unix 3 [ ] STREAM CONNECTED 6526 /tmp/scim-panel-socket:0-kcynice
unix 3 [ ] STREAM CONNECTED 3587
unix 3 [ ] STREAM CONNECTED 7618 /tmp/scim-helper-manager-socket-kcynice
unix 3 [ ] STREAM CONNECTED 3586
unix 3 [ ] STREAM CONNECTED 3583 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11332
unix 3 [ ] STREAM CONNECTED 3582 /tmp/scim-socket-frontend-kcynice
unix 3 [ ] STREAM CONNECTED 11331
unix 3 [ ] STREAM CONNECTED 3581 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11327
unix 3 [ ] STREAM CONNECTED 3580 /tmp/scim-socket-frontend-kcynice
unix 3 [ ] STREAM CONNECTED 11326
unix 3 [ ] STREAM CONNECTED 3579 /tmp/scim-socket-frontend-kcynice
unix 3 [ ] STREAM CONNECTED 11325
unix 2 [ ] STREAM 3574
unix 3 [ ] STREAM CONNECTED 11310 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 3566
unix 3 [ ] STREAM CONNECTED 3562 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11309
unix 3 [ ] STREAM CONNECTED 11287 @/tmp/fam-kcynice-
unix 3 [ ] STREAM CONNECTED 11286
unix 3 [ ] STREAM CONNECTED 3544 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11270
unix 3 [ ] STREAM CONNECTED 11267 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 5454
unix 3 [ ] STREAM CONNECTED 9509 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 8321
unix 3 [ ] STREAM CONNECTED 5451 @/tmp/.ICE-unix/2215
unix 3 [ ] STREAM CONNECTED 7591
unix 3 [ ] STREAM CONNECTED 11265 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 7590
unix 3 [ ] STREAM CONNECTED 11263 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 3543
unix 3 [ ] STREAM CONNECTED 3540 @/tmp/.ICE-unix/2215
unix 3 [ ] STREAM CONNECTED 11260
unix 3 [ ] STREAM CONNECTED 11255 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 3539
unix 3 [ ] STREAM CONNECTED 3536 @/tmp/fam-kcynice-
unix 3 [ ] STREAM CONNECTED 3535
unix 3 [ ] STREAM CONNECTED 11254 @/tmp/.ICE-unix/2215
unix 3 [ ] STREAM CONNECTED 3534
unix 3 [ ] STREAM CONNECTED 3532 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11253
unix 3 [ ] STREAM CONNECTED 3530 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11250
unix 3 [ ] STREAM CONNECTED 11247 @/tmp/.ICE-unix/2215
unix 3 [ ] STREAM CONNECTED 3529
unix 3 [ ] STREAM CONNECTED 11244 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 3528
unix 3 [ ] STREAM CONNECTED 3526 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11243
unix 3 [ ] STREAM CONNECTED 3525 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 3524
unix 3 [ ] STREAM CONNECTED 11240 @/tmp/.ICE-unix/2215
unix 3 [ ] STREAM CONNECTED 3523
unix 3 [ ] STREAM CONNECTED 3520 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11239
unix 3 [ ] STREAM CONNECTED 3517 @/tmp/fam-kcynice-
unix 3 [ ] STREAM CONNECTED 11238
unix 3 [ ] STREAM CONNECTED 3516 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11230
unix 3 [ ] STREAM CONNECTED 3514 @/tmp/.ICE-unix/2215
unix 3 [ ] STREAM CONNECTED 11227
unix 3 [ ] STREAM CONNECTED 11223 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 5447
unix 3 [ ] STREAM CONNECTED 5446 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11220
unix 3 [ ] STREAM CONNECTED 3452 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11217
unix 3 [ ] STREAM CONNECTED 5445 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11215
unix 3 [ ] STREAM CONNECTED 3444 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11208
unix 3 [ ] STREAM CONNECTED 5439 @/tmp/dbus-biSgMVrTeL
unix 3 [ ] STREAM CONNECTED 11205
unix 3 [ ] STREAM CONNECTED 5438 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11203
unix 3 [ ] STREAM CONNECTED 5434 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 11186
unix 3 [ ] STREAM CONNECTED 9507 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 5433
unix 3 [ ] STREAM CONNECTED 7526
unix 3 [ ] STREAM CONNECTED 7525
unix 3 [ ] STREAM CONNECTED 11180 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11179
unix 3 [ ] STREAM CONNECTED 3432 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11178
unix 3 [ ] STREAM CONNECTED 3428 @/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11165
unix 3 [ ] STREAM CONNECTED 5431 /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 11075
unix 2 [ ] DGRAM 7514
unix 2 [ ] DGRAM 7502
unix 3 [ ] STREAM CONNECTED 8314 /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 9486
unix 3 [ ] STREAM CONNECTED 5417 @/var/run/hald/dbus-3HE2sjK7cN
unix 3 [ ] STREAM CONNECTED 10996
unix 3 [ ] STREAM CONNECTED 10980 @/var/run/hald/dbus-3HE2sjK7cN
unix 3 [ ] STREAM CONNECTED 10979
unix 3 [ ] STREAM CONNECTED 5382 @/var/run/hald/dbus-YiHESGRM12
unix 3 [ ] STREAM CONNECTED 10967
unix 3 [ ] STREAM CONNECTED 10961 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7435
unix 3 [ ] STREAM CONNECTED 10941 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7428
unix 3 [ ] STREAM CONNECTED 5371 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 10935
unix 3 [ ] STREAM CONNECTED 5354 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7405
unix 3 [ ] STREAM CONNECTED 7402
unix 3 [ ] STREAM CONNECTED 7401
unix 2 [ ] DGRAM 10923
unix 2 [ ] DGRAM 7374
unix 3 [ ] DGRAM 2741
unix 3 [ ] DGRAM 2740

catkin 07-03-2012 05:21 AM

A successful pring is informative. An unsuccessful ping doesn't tell you much unless pings to the same address work from the same hardware running Windows. Do they?

Sorry -- when I asked for netstat -n output I meant route -n but that's anyway irrelevant if you are having problems connecting to devices on the same LAN.

TommyC7 07-03-2012 09:34 AM

Have you tried wicd (in /extras), NetworkManager or just manually setting up /etc/rc.d/rc.inet1.conf and /etc/wpa_supplicant.conf?

NyteOwl 07-04-2012 01:27 PM

1) is this a wired or wireless network?
2) Can you ping machines in the same network segment?
3) Can you ping the gateway?


BTW - You need a new network admin as these sorts of issues are what they're (supposedly) paid to help resolve.

rbdharnia 07-06-2012 11:45 PM

here are a list and details of some networking tools which may be helpful to u

http://linuxhelp-rbdharnia.rhcloud.c...?namex=network

salasi 07-08-2012 04:10 AM

Given that that website currently gives only "Sorry! something went wrong on server" it probably doesn't help the OP much (and could even deceive the OP into thinking that there is another problem).

kcynice 07-24-2012 03:59 AM

Thanks all.
And am so so sorry that, it's not the problem about my system, but myself.
I found there are two network adapters on my pc, and my slackware set the extra adapter as eth0 but not the one built in the mother board! Im so sorry.
Thanks all.

catkin 07-29-2012 12:18 PM

No worries. Thanks for the update and glad you solved it :)


All times are GMT -5. The time now is 05:35 AM.