LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 04-02-2007, 12:31 PM   #1
feitingen
LQ Newbie
 
Registered: Apr 2007
Location: Norway
Distribution: debian
Posts: 2

Rep: Reputation: 0
sendmsg: Operation not permitted error on wireless nic after failed routing attempt


Hi,
I have been playing around a bit with routing tables to get my pc to act as a router, but i wound up with the second nic (wireless,eth2) not wanting to send anything. I have flushed just about everything and rebuilt my routing table, but i still can't see what's wrong.

When i unplug eth0(wired) and configure eth2(wlan), i can't send anything, but it seems to recieve something, though i have no idea what it is, and it is able to get itself an ip from a router, but that's all i can do with it.

Ifconfig says:
Code:
eth0      Link encap:Ethernet  HWaddr 00:02:3F:BD:99:CF  
          inet addr:192.168.192.25  Bcast:192.168.192.255  Mask:255.255.255.0
          inet6 addr: fe80::202:3fff:febd:99cf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3862490 errors:1191 dropped:2031 overruns:1191 frame:0
          TX packets:2999918 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3780325063 (3.5 GiB)  TX bytes:875777482 (835.2 MiB)
          Interrupt:10 Base address:0xc000 
eth2      Link encap:Ethernet  HWaddr 00:04:23:76:9E:47  
          inet addr:192.168.192.23  Bcast:192.168.192.255  Mask:255.255.255.0
          inet6 addr: fe80::204:23ff:fe76:9e47/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:7869 errors:19 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:544983 (532.2 KiB)  TX bytes:3324 (3.2 KiB)
          Interrupt:10 Base address:0x4000 Memory:e0000000-e0000fff 

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:941 errors:0 dropped:0 overruns:0 frame:0
          TX packets:941 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:97920 (95.6 KiB)  TX bytes:97920 (95.6 KiB)
netstat -rn says:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.2     0.0.0.0         255.255.255.255 UH        0 0          0 sl0
192.168.192.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.192.0   0.0.0.0         255.255.255.0   U         0 0          0 eth2
0.0.0.0         192.168.192.1   0.0.0.0         UG        0 0          0 eth0
iwconfig eth2 says:
Code:
eth2      IEEE 802.11b  ESSID:"Chromium"  Nickname:"fuck"
          Mode:Managed  Frequency:2.427 GHz  Access Point: 00:14:7C:B6:25:3A   
          Bit Rate=11 Mb/s   Tx-Power:16 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-32 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:19   Missed beacon:0
 
Old 04-03-2007, 09:16 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
looks like both nics are on the same network, change the ip address on the wireless to 192.168.193.23 Also adjust the devices on the wireless side accordingly IE 192.168.193.xxx
 
  


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
ping: sendmsg: operation not permitted br_sriram Linux - Networking 24 04-03-2011 11:12 AM
HDIO_SET_DMA failed: Operation not permitted new.thing Slackware 21 09-15-2007 05:46 PM
HDIO_SET_DMA failed: Operation not permitted (???) Ellops Slackware 8 08-11-2006 06:00 PM
HDIO_SET_DMA failed: Operation not permitted acjt Linux - Hardware 4 05-02-2003 10:52 PM
HDIO_SET_DMA failed: Operation not permitted markus1982 Linux - General 2 10-28-2002 04:56 AM


All times are GMT -5. The time now is 11:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration