Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PS3 WiFi & Kernel 2.6.27
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
hexonn
n00b
n00b


Joined: 11 Feb 2007
Posts: 16
Location: LA, CA

PostPosted: Fri Nov 21, 2008 3:40 am    Post subject: PS3 WiFi & Kernel 2.6.27 Reply with quote

I upgraded my kernel just now, to 2.6.27-r3. Everything boots up, though there were some mismatches when I was compiling it.

I noticed that my /etc/conf.d/net file no longer works from my previous Kernel which is the one from the 2.6.23 install. Also, eth0 is no longer responsible for wireless, it seems. It automatically created wlan0_renamed after I booted. The good news is that it connects after I try this guide

http://overlays.gentoo.org/proj/cell/wiki/Wireless
Replacing eth0, for wlan0_rename

(I ended up using this guide to change wlan0_rename, to just wlan0 [link])



Also, I used this guide to add wlan0 [link] to my RC. Then I went and tried to configure the net file, but it doesn't work by modifying my old net file. My connection will only work if I do it manually from the first link.

So how do I set up my net file? I want to use a static network IP so it looks like this

Code:
modules=( "iwconfig" )
essid_wlan0=("linksys")
preferred_aps=("linksys")
key_linksys=" ****-****-****-** enc restricted"
mode_wlan0="managed"
config_wlan0=( "192.168.1.117/24" )
routes_wlan0=( "default via 192.168.1.2" )


The light will go green (meaning the WiFi is on) but when I try to go online there's no connection.
_________________
working on it
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 26, 2008 7:09 pm    Post subject: Reply with quote

I'm sorry, I don't quite understand how you're getting it to work? What do you mean by:
Quote:

My connection will only work if I do it manually from the first link.


What does iwconfig say about the connection when you're connected?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hexonn
n00b
n00b


Joined: 11 Feb 2007
Posts: 16
Location: LA, CA

PostPosted: Fri Nov 28, 2008 4:01 am    Post subject: Reply with quote

This first link: http://overlays.gentoo.org/proj/cell/wiki/Wireless
Like it says, I clear out my net file and comment things out. Then I use:
Code:
localhost ~ # iwconfig wlan0 essid linksys key <key> restricted

and
Code:
localhost ~ # dhcpcd -d wlan0


Which then gives me an network IP and viola, I can go online and iwconfig, shows up everything normal.



However, the problem is that when I try to use the /etc/conf.d/net file with a custom configuration, like the one I put in the first post, it doesn't work.
_________________
working on it
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 28, 2008 4:10 pm    Post subject: Reply with quote

Okay, so with the static configuration, can you ping your router? Is it only DNS that's not working? Did you setup /etc/resolv.conf for a static connection?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hexonn
n00b
n00b


Joined: 11 Feb 2007
Posts: 16
Location: LA, CA

PostPosted: Sat Nov 29, 2008 6:23 am    Post subject: Reply with quote

I've never edited or changed resolv.conf

But I did add this to net
Code:
dns_servers_linksys=("68.238.64.12 68.238.128.12")

But it still doesn't connect

When I use the net file, ping:
Code:
localhost ~ # ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
From 192.168.1.117 icmp_seq=1 Destination Host Unreachable

I'm not sure where the problem is.
_________________
working on it
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Nov 29, 2008 6:40 am    Post subject: Reply with quote

Okay, what does iwconfig show you? Did it connect properly? What does ifconfig show you? Was the ip address set properly? What does route show you? Was the route set properly?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
hexonn
n00b
n00b


Joined: 11 Feb 2007
Posts: 16
Location: LA, CA

PostPosted: Wed Dec 03, 2008 1:47 am    Post subject: Reply with quote

Well, when I use the command line, and not the net file, to set it up I get this:
Code:
localhost ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"linksys"  Nickname:"gelic_wl"
          Mode:Managed  Access Point: 00:18:39:FF:81:AD
          Encryption key:****-****-**   Security mode:open
          Link Signal level=100/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.

localhost ~ # ifconfig
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:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3216 (3.1 Kb)  TX bytes:3216 (3.1 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:19:C5:2E:91:2A
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::219:c5ff:fe2e:912a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26482 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2178400 (2.0 Mb)  TX bytes:22802053 (21.7 Mb)

Which works fine.


When I try to use the net file (I tried using 192.168.1.133 in this one, and also open security mode to open since it said open on the previous thing):
Code:
localhost ~ # iwconfig
wlan0     IEEE 802.11bg  ESSID:"linksys"  Nickname:"gelic_wl"
          Mode:Managed  Access Point: 00:18:39:FF:81:AD
          Encryption key:****-****-**   Security mode:open
          Link Signal level=100/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Code:
localhost ~ # ifconfig
wlan0     Link encap:Ethernet  HWaddr 00:19:C5:2E:91:2A
          inet addr:192.168.1.113  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::219:c5ff:fe2e:912a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:1048 (1.0 Kb)


But alas, does not connect, and like I put before, when I ping my router, it craps out with "Destination Host Unreachable"
_________________
working on it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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