Hello. I want to scan and modify every IP packet that goes thru PPP (dial-up) (or thru all interfaces if easier). I've done a lot of research and found that maybe the only way to achieve this on lousy wince is to patch the OS itself...I am an x86 programmer and I've done this relatively easily on winxp...
P.S. How can one debug wince os code in ROM with software debuggers?
P.P.S. So far I don't have any solution to my problem so it would be a success to do this even with one device (I have htc universal for tests...)
Today I've finally downloaded the platform builder and so called "Shared" code of wince 6.0...To my surprise I found ARM4 .lib files instead of source code for everything that I needed to look in (ip*.*) . However there is a binmod utility and other stuff for editing rom that you might need. I don't need to modify rom since i can neither debug ROM nor have it's source even from a different version of wince (I need for 5.0). M$ is sh*t as usual.
It is the har work to modify ppp packets on pocket pc (wince).
Yo can try the passthru sample in PB:
\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\PASSTHRU
and
\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\ASYNCMAC
i think you have to modify the drivers.
good luck !
I am fighting with these challenges, i am near to the final positive result,but still have problems...
I hope you can help me.
1) connect to internet via DUN
2) Connect to internet via PAN
3) Connect to internet via USB modem
4) Connect to internet via USB Internet sharing
5) Browsing and synchronizing the device
These are the little result so far :
1) Installed this cab :
http://forum.xda-developers.com/showpost.php?p=1351044&postcount=21 (thanx to the Author) and DUN is again available.
IT works without problems with Winzoz, but i am not succeeding with Linux.
I made the usual steps (like this post explain, i.e. : http://klamstwo.org/evad/archives/20 ) linux finds the modem but cannot make it call... (init strings for the modem perhaps?)
What the init string for the TyTN modem?
Any Hints?
( an A1000 works perfect via DUN and the same stick)
2) I followed this guide (thanks to the author) http://www.klamstwo.org/evad/archives/40
And the whole thing works (bnet is connected with IP address 192.168.0.187 and has gateway 192.168.0.1 ) except the fact that i cannot browse internet pages.
Could it be a DNS problem?
I'll try manual configuration and let you know.
3) I tried the connection using the ttyUSB0, modem is ready but does not initialize... HINTS ?
4) SYNCE or something easier?
5) I think Synce is the answer, but at the moment it does not work in my distribution (mandriva). A lot of problems during installation (RPMs and source compiled, non difference). I'll try again. I've followed the How to published around here, (http://forum.xda-developers.com/showpost.php?p=1550906&postcount=4) but i have problems with odccm... it does not install.
other ideas?
I hope this post could become a sort of "mini how to", combining different issues related to the same argument : TYTN and LINUX
Thanx in advance to everyone who will help.
Are these challenges so HARD?
No one here around uses linux and TYTN?
Let's try solving one by one,
let's start with USB.
I tried this one
http://www.mobile-stream.com/usbmodem_wm.html
with windoz it is immediately recognized as a usb mmodem, but with linux the ppp scripts waits for "OK" till timeout.
I also tried the old wirelessmodem, the one for WM5, posted here
http://forum.xda-developers.com/showthread.php?t=306041 ,
but it does not show the kind of connection in the box (it is blank).
I tried to start it even if the box is blank, Windows recognizes it as a serial device, linux gets a lot of "OK" (KPPP) and Tytn shows the message "Please end data call first!"
I also tried this:
http://www.myehud.com/xv6600/usbmodem.html
But when i hit start It says "Not registered to the network!".
This is about Linux and USB moden... perhaps someone of you has succedeed?
Please report.
The other issue would be having internet sharing working with linux and usb ...
So linux users, let's try...
i'm a ubuntu user, and i feel you.. i don't want to run virtual box, so i just deal with no direct pda syncing.
i tried synce, and failed twice, months apart. (probably my fault somehow)
i do however have to use windows at work, so i end up doing most of my flashing and such there.
though, if you find a good NATIVE solution, let me know!
I am using Kubuntu, and can browse the My Documents folder of my PDA, so at least everything is talking to each other. However, I have not got round to configuring the synchronisation side of things; hopefully it should be possible.
Neil,
did you install synceor is somethingnative in your distribution?
Ahd what about the point 1 to 4?
Whether as internet sharing or modem, usb o BT, are you using the Tytn to connect thelinux box to the net?
I am really coing mad, i feel i am so near but i still cannot...
I don't understant why the Pand does not work for example, bnet has the right IP, has it's gatewaqy but still i cannot browse the net...
devilman - no, it was not native; I think it was SynCE, although, I can't be sure. It took some tinkering to get it going, but, now the device is immediately recognised when it is plugged in (USB) and ActiveSync is run.
To get the next stage working, I need to override the choice of library, as it continually tries to use an old version (libsync, I think), even though a new one is installed.
I have not tried 1-4, and, would not be sure how to do them, other than just trying to mount the device as a modem, and then using *99# as the number. In terms of init strings, these vary slightly by service- for example, for Vodafone UK, it is:
Code:
z+cgdcont=1,”IP”,”internet”
(The "z" at front is the AT command for modem reset; it might or might be necessary, but, sometimes helps the connection to work.)
well, I tried, as said in the first post,to use tytn asmodem.
To have it working with BT you have to install the hack in order to have DUn again.
To have it recognizedas a modem you have to put in in in the "modem" status (again, in WM6 wireless modem is not available,so you have to use the old one or the third party product).
In both case the lnux box connects with modem but i son't succeed in having it call the number...
I used the "usual" AT commands, like the "z" and the cgdcount...
Ideas?
I saw you'd got as far as having the device recognised as a modem, but didn't know quite how far you'd got. However, my Linux skills are so poor, I honestly wouldn't know where to go if the standard init. script did not work.
If terms of calling a number, would that not be *99# though?
Please, has noone found out how to have it working?
I am going mad about this.
I need a way to connect my linux box via tytn, usb or bt...
Any hint?
Uhm, for the last one (browsing the pocket pc) I use wm5torage. That turns your pocket pc into a USB disk and Ubuntu easily recognizes that as a removable drive. It is not the perfect solution but it is easy, fast and works.
and...i have another question
can anyone install an embedded-linux on Tytn, i mean use dual-system ?
is it possible?
ss1271 said:
and...i have another question
can anyone install an embedded-linux on Tytn, i mean use dual-system ?
is it possible?
Click to expand...
Click to collapse
there is another 3d all for this issue.
devilman said:
Please, has noone found out how to have it working?
Click to expand...
Click to collapse
I'm on Ubuntu 7.10 and running the official T-Mobile Austria WM6 upgrade on my Vario 2, Bluetooth PAN works flawlessly:
Code:
sudo pand --connect XX:XX:XX:XX:XX:XX
sudo dhclient bnep0
Back in WM5 days Bluetooth DUN worked as well, using the following chatscript in /etc/chatscripts/provider which I created with pppconfig:
Code:
# This chatfile was generated by pppconfig 2.3.17.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ+cgdcont=1,"IP","gprsinternet"
# ispnumber
OK-AT-OK ATDT*99#
# ispconnect
CONNECT ''
# prelogin
# ispname
#ogin: replace_with_name
# isppassword
#ssword: \qreplace_with_password
# postlogin
'' \d\c
# end of pppconfig stuff
and the corresponding /etc/ppp/peers/provider:
Code:
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/rfcomm0
115200
defaultroute
noipdefault
remotename provider
ipparam provider
usepeerdns
of course, for this solution to work you would have to set up the rfcomm port for your tytn in /etc/bluetooth/rfcomm.conf
Code:
rfcomm0 {
bind yes;
device XX:XX:XX:XX:XX:XX;
channel 4;
comment "T-Mobile Vario II Bluetooth Dial-Up";
}
you should now be able to connect using the "pon" command.
I hope this post is of some help to you... good luck!
http://forum.xda-developers.com/showthread.php?t=344396
ya, too bad ;(
i still can`t use calendar or contact sync functions.
greets, Nik
devilman said:
4) Connect to internet via USB Internet sharing
4) SYNCE or something easier?
I hope this post could become a sort of "mini how to", combining different issues related to the same argument : TYTN and LINUX
Thanx in advance to everyone who will help.
Click to expand...
Click to collapse
Depending on your kernel version (I think this applies to 2.6.21 and greater, but check other docs to be sure), there is a kernel module known as usb-rnds-lite. Get it (links from synce wikis), make it, use it, love it.
I have used it to ICS several devices, 8525, 8925, BlackJack I and II... only quirk is that is works best to start ICS _then_ connect the USB cable.
I suggest you to read this article:
http://ubuntu-utah.ubuntuforums.org/showthread.php?t=598890
You can also search by Google: "bnep0 pand pda linux"
Hello folks
Here's an idea.
My schwitch doesn't boot and gets stuck.
I have tried android and i can boot it everything works except the wifi.
After i swap the chip the wifi still doesn't work.
While searching for the error I found out that you have to program the chip.
Can someone please post the dump you have according to these instructions?
https://www.cypress.com/file/298136/download
This may save many Switches without the need of a donor Board. Just need to write the OTP Memory so the BCM4356 is configured properly.
You will get better support over on gbatemp.
Using Droid Info i read out my sys Info. There is a point "WIFI:Yes"
I have installed Terminal info to get some more infos.
Using the command lspci i was able to get the device id: class 0280: 14e4:4354
here are some opensorce drivers for the 4354
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
As you can see the Wifi is not broken or cant be found. It is there but i need to find how to debug the wifi what is really going on.
because if I dumpsys it show me in CHipset information
Version is: null
driver version: null
Im a newbi on android. Maybe someone can me give some options/help.
Can you join the discord, I can discuss there (link is on the twitter bio)
I am in similar situation. I was running 9.1 Atmosphere and everything was working fine. I used the homebrew app to update atmosphere rather than downloading on my computer manually updating. I honestly knew better but did it anyway. Atmosphere supposedly updates, reboots, I inject my payload, hangs on switch logo.
android: No wifi. bluetooth works fine
Ubuntu: no wifi
Downgraded switch to 5.x.x. No Wifi, bluetooth ok
Restore backup of 9.x.x: boot hangs on switch logo
downgrade again and start updated 1 version at a time. eventually find that every version works(no wifi) until I go to 9.x
So Im stuck on 8.x.x with no wifi and no gamecard slot (switch was on 9.x before I modded)
GBAtemp suggested that my BCM or a component near it could be damaged and I do have the tools to open it but my gut tells me this is a software issue not a hardware issue.
OP If you are able to run android but not Horizon/Atmo I used this to downgrade:
https://switch.homebrew.guide/usingcfw/manualchoiupgrade
Also included picture from me trying to see the wireless card via terminal in ubuntu but I am terrible with linux so I dont know how to do much without instruction