LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   MEPIS (http://www.linuxquestions.org/questions/mepis-64/)
-   -   networking in antiX (http://www.linuxquestions.org/questions/mepis-64/networking-in-antix-896630/)

newbiesforever 08-10-2011 05:45 PM

networking in antiX
 
I installed antiX, but can't get my wireless network to work in it. AntiX has several network management programs, and I figured out that the tool I need to use is "Ceni"; the others (Wicd, rutilt, and wpa_gui) don't even detect my network until I use Ceni to set it up. Ceni gives messages that seem to indicate that the network has been successfully activated, but I can't access any website with the browser. (Since I therefore can't get online from the partition where antiX is installed, it's difficult to display the status messages from Ceni here, but if anyone wants to see them, I could go back there and try to take a screen capture.)

Does anyone have any suggestions?

Peacedog 08-10-2011 09:16 PM

Hi newbiesforever, Let's have a look at your connectivity. Boot back into the antiX partition and issue the following.

Code:

$ sudo ifconfig -a
$ sudo iwconfig
$ cat /etc/resolv.conf
$ ping -c4 you're-router's-ip
$ ping -c4 www.google.com

Capture the results to a text file. If you can't access the antiX partition from your current install just put the text file on a thumb drive so you can post the results.

Good luck. ;-)

newbiesforever 08-11-2011 01:06 PM

Okay, did that. [I used su - because I hadn't put myself in the sudoers file on this newly installed antiX yet.]

The output from those commands is:

Quote:

josh@antiX1:~$ su -
Password:
root@antiX1:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:e0:4d:89:47:5f
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:41 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6641 (6.4 KiB) TX bytes:6641 (6.4 KiB)

wlan0 Link encap:Ethernet HWaddr 00:23:69:06:00:a0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1366 (1.3 KiB) TX bytes:3914 (3.8 KiB)
Interrupt:19 Memory:fcff8000-fd000000

root@antiX1:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"GeezerFamNetwork-2"
Mode:Managed Frequency:2.432 GHz Access Point: 14:D6:4D:30:8C:30
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:3770-FA4A-4486-4701-CD19-E7D7-2342-6FD7 Security mode:restricted
Power Management:off
Link Quality:85/100 Signal level:-41 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@antiX1:~# ping -c4 255.255.255.255
connect: Network is unreachable
root@antiX1:~# ping -c4 www.google.com
ping: unknown host www.google.com
root@antiX1:~#
I hope that doesn't indicate that there's no problem, because there must be--I can't use the internet.

Peacedog 08-11-2011 09:24 PM

From the looks of the results, you haven't pulled an IP from the router. After associating with the AP try pulling an IP.

Code:

# dhclient wlan0
Good luck. ;-)

newbiesforever 08-11-2011 10:40 PM

While waiting for your response, I fooled around some more, and discovered what might be the main problem--I made an error. I mistakenly had wicd looking only for a wired network, and there isn't one. As soon as I set it to look for a wireless network, it detected my network in a scan. But you must be right that I haven't pulled an IP either; that explains the second problem. After wicd detected my wireless network and I told it to connect, it got the password authentication and everything else right, but could not find the network address. I'll go back and enter the command you gave.

archtoad6 08-11-2011 10:51 PM

newbiesforever,

<humor> In deference to your user name, here is a std. welcome I sometimes use, I hope you are not offended:
Welcome to LQ. Hope your time here helps you as much as mine has helped me.

Please put code, command line output, config files, etc. inside [CODE] tags, aka "Code:" blocks.

It will make your posts easier to read, & that will get you more, faster, better answers. -- Help us help you.
BTW, You can edit your post(s) to do this retroactively.

Thank you, & again, welcome.
</humor>

Seriously, "Quote:" blocks are not quite the same as "Code:" blocks. I'll be happy to help you w/ the difference.

rokytnji 08-11-2011 11:02 PM

My Wicd setup in AntiX 11 full iso is as follows. You have the module loaded for your wireless according to ifconfig command. I use a open network (no wep or wpa) as I live in the boon docks instead of a major city or town.

Preferences General Settings
a. Wireless interface = wlan0
b. Wired interface = eth0
c. Always show wired interface=checked in box
d. Wired automatic connection= use default network profile=checked in box
e. Automatic reconnection = Automatic reconnect on connection loss =checked in box

Preferences External Programs
1.DHCP Client
a. Automatic (dhclient can be used also if Auto does not work for you)
2. Wired Link Detection
a. Automatic (recommended)
3. Route Table Flushing
a. Automatic (recommended)
4. Graphical Sudo Application
a. Automatic (recommended)

Preferences Advanced Settings
1. WPA Supplicant
a. Driver= wext
2. Backend
a. backend= external

3. Wireless Interface
a. use dbm to measure signal strength=box is checked
b. ping static gateways after connecting to verify association.

This setup of wicd works for me at free wifi hotspots like Texas rest areas, McDonalds,Starbucks, and encrypted wpa networks at motels that I stay at sometimes also on motorcycle trips. To see what driver and chip in AntiX that you are running

Code:

$ inxi -F
System:    Host: Biker Kernel: 2.6.36-1-mepis-smp i686 (32 bit)
          Desktop IceWM 1.3.7 Distro: antiX-M11-686 Jayaben Desai 01 May 2011
Machine:  Mobo: IBM model: 2628TWU Bios: IBM version: KXET33WW (1.06 ) date: 09/05/2001
CPU:      Single core Pentium III (Coppermine) (-UP-) cache: 256 KB flags: (sse) clocked at 1000.00 MHz
Graphics:  Card: ATI Rage Mobility P/M AGP 2x
          X.Org: 1.10.2.902 drivers: ati,mach64 (unloaded: fbdev,vesa) Resolution: 1024x768@87.0hz
          GLX Renderer: Rasterizer GLX Version: 2.1 Mesa 7.10.3
Audio:    Card: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] driver: Sound Fusion CS46xx
          Sound: Advanced Linux Sound Architecture ver: 1.0.23
Network:  Card-1: 3Com 3c556B CardBus [Tornado] driver: 3c59x
          IF: eth0 state: down speed: 10 Mbps duplex: half mac: edited by me
          Card-2: Ralink RT2561/RT61 802.11g PCI driver: rt61pci
          IF: wlan0 state: up mac: edited by me
Drives:    HDD Total Size: 20.0GB (24.2% used) 1: /dev/sda IC25N020ATCS04 20.0GB
Partition: ID: / size: 6.3G used: 2.8G (46%) fs: ext4 ID: /home size: 12G used: 1.8G (17%) fs: ext4
          ID: swap-1 size: 0.76GB used: 0.00GB (0%) fs: swap
Sensors:  System Temperatures: cpu: 44.0C mobo: 42.0C
          Fan Speeds (in rpm): cpu: 0
Info:      Processes: 103 Uptime: 1:38 Memory: 219.0/501.2MB Client: Shell inxi: 1.7.20-2

Sometimes Ceni works for me but sometimes I have to run it numerous times (during current desktop session) for it to take. I use either Ceni or Rutilt on my AntiX 11 Base iso installs as wicd is not available by default in AntiX Base and Core isos. Remember to use roam instead of scan in Ceni also when using it. Ceni settings stick also on reboot. You will see network messages during bootup screen that ceni is connecting on reboot. Good Luck with it.

newbiesforever 08-12-2011 12:20 AM

Quote:

Originally Posted by archtoad6 (Post 4440428)
newbiesforever,

<humor> In deference to your user name, here is a std. welcome I sometimes use, I hope you are not offended:
Welcome to LQ. Hope your time here helps you as much as mine has helped me.

Please put code, command line output, config files, etc. inside [CODE] tags, aka "Code:" blocks.

It will make your posts easier to read, & that will get you more, faster, better answers. -- Help us help you.
BTW, You can edit your post(s) to do this retroactively.

Thank you, & again, welcome.
</humor>

Seriously, "Quote:" blocks are not quite the same as "Code:" blocks. I'll be happy to help you w/ the difference.

Duly noted, and I'm not offended, good sir. (Although I was startled to hear "welcome" despite my having been here for at least five years.) You've helped me out before and have never been snide about my lack of expertise or about my providing insufficient information.

Peacedog 08-17-2011 08:10 PM

Were you able to pull an IP with dhclient?

Good luck. ;-)

abarenbe 09-29-2013 04:43 PM

Networking in AntiX
 
I just Installed AntiX-Base on a Thinkpad T41. When I run Rutilt I get "Can't Find any wireless network interface." Similar problems with the other wifi utilities.

Any Sugestions???
Thank you, Andy

newbiesforever 09-29-2013 08:41 PM

I don't know much about rutilt, and my antix is the full version; but you could ask on http://forum.mepiscommunity.org . Dedicated antiX forum there. But my first guess is you might need ndiswrapper (Linux support for the Windows drivers of wireless devices that don't have native Linux drivers) and antix-base might not have it.

Peacedog 09-30-2013 07:45 PM

Hi abarenbe, Welcome to LQ. Are you certain your wifi card is up and functioning? Please post the results of the following:

Code:

$ sudo ifconfig -a
$ sudo lspci -v | grep Net
$ lsmod
$ sudo iwconfig

Let's see what the card is and if it's up.

Good luck. ;-)


All times are GMT -5. The time now is 07:17 PM.