LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2012, 05:43 AM   #1
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Rep: Reputation: 25
Question 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?
 
Old 06-20-2012, 07:27 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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.
 
Old 06-20-2012, 10:40 PM   #3
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
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?
 
Old 06-21-2012, 08:50 AM   #4
cospengle
Member
 
Registered: Feb 2008
Location: Armidale, NSW, Australia
Distribution: Fedora 8
Posts: 32

Rep: Reputation: 6
Quote:
Originally Posted by kcynice View Post
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?
 
Old 06-21-2012, 09:01 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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?
 
Old 07-03-2012, 01:31 AM   #6
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by cospengle View Post
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).
 
Old 07-03-2012, 01:33 AM   #7
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by catkin View Post
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

Last edited by kcynice; 07-03-2012 at 01:34 AM.
 
Old 07-03-2012, 05:21 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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.
 
Old 07-03-2012, 09:34 AM   #9
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 528

Rep: Reputation: Disabled
Have you tried wicd (in /extras), NetworkManager or just manually setting up /etc/rc.d/rc.inet1.conf and /etc/wpa_supplicant.conf?
 
Old 07-04-2012, 01:27 PM   #10
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
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.
 
Old 07-06-2012, 11:45 PM   #11
rbdharnia
LQ Newbie
 
Registered: Nov 2010
Location: haryana,india
Distribution: fedora
Posts: 5

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

http://linuxhelp-rbdharnia.rhcloud.c...?namex=network
 
Old 07-08-2012, 04:10 AM   #12
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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).
 
Old 07-24-2012, 03:59 AM   #13
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 25
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.
 
Old 07-29-2012, 12:18 PM   #14
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
No worries. Thanks for the update and glad you solved it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless on slackware 13.1 wont work when network has a security code linux/unix87 Linux - Newbie 1 04-29-2011 12:14 PM
[SOLVED] Why can't I get my wireless network work in slackware 13.0? loffe Slackware 11 07-26-2010 10:18 AM
Trying to Get Broadcom Network Card to work on Slackware 13 docmac100 Slackware - Installation 1 09-21-2009 04:30 PM
Network adapter does not work on Slackware 12.2 Matt_K Linux - Networking 2 03-01-2009 01:09 PM
my second network card does not work (slackware) slacktom Linux - Networking 4 04-08-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration