OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

44 Pages V  « < 30 31 32 33 34 > »   
Reply to this topicStart new topic
> Htc Universal, ... running Debian EABI
Sam Liddicott
post Jun 18 2008, 11:16 PM
Post #466





Group: Members
Posts: 44
Joined: 7-May 08
Member No.: 21,745



QUOTE(domi007 @ Jun 18 2008, 09:20 PM) *
Hi EB!
Finally I got my TitchyMobile working (based on the package from shikomura).
But, I cannot connect to the internet via USB.
I have a Debian install in a virtual PC. I connected the PDA to the virtual PC (and the connection was successful: Windows didn't see it anymore), applied all the commands, found in wiki.neilandtheresa.co.uk, but no success.

Do you have any ideas?
Thanx!
DOMy


Try using tcpdump on the debian pc; maybe try booting from a live CD.

My xda network interfaces is:

CODE
allow-hotplug usb0
iface usb0 inet static
  address 192.168.2.2
  netmask 255.255.255.0
  gateway 192.168.2.1
  post-up echo nameserver 192.168.2.1 > /etc/resolv.conf


and on my desktop pc:

CODE
allow-hotplug usb0
auto usb0
iface usb0 inet static
        address 192.168.2.1
        netmask 255.255.255.0
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward; iptables -D FORWARD -j ACCEPT; iptables -A FORWARD -j ACCEPT; iptables -t nat -D POSTROUTING -s 192.168.2.0/24 -o eth0 -j MASQUERADE; iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -o eth0 -j MASQUERADE


I still have to do
ifdown usb0 ; ifup usb0
if I re-connect the xda, but it works on it's own the first time round.

Sam
Go to the top of the page
 
+Quote Post
linuxFreq
post Jun 19 2008, 03:14 AM
Post #467





Group: Members
Posts: 13
Joined: 10-June 08
Member No.: 21,901



Hi,

Was just wondering about the acx driver. Does titchy come with the latest version?

This tutorial here (http://acx100.sourceforge.net/wiki/Distribution_list/Debian) says that the acx-100 driver is in the contrib repo and was just wondering if i should try install it.

I've found wifi to be stable for browsing simple websites but try an apt-get install xxx and you're lucky if it lasts 20 seconds...

Go to the top of the page
 
+Quote Post
Flameweaver
post Jun 19 2008, 04:33 AM
Post #468





Group: Members
Posts: 1
Joined: 19-June 08
Member No.: 21,948



Hi all,

Firstly great job on getting Debian running on the Universal, might squeeze some more life out of the handset yet.
I am a linux beginner, but quite happy with commanline stuff and happily have Titchy installed on my dual partitioned SD card.
I'd like to get UMTS data working as I'm on an unlimited data plan so no problems apt-get'ing over the air.

I have edited /etc/default/titchy-phone-daemon.conf to GPRS_APN="general.t-mobile.uk"
And I've also added "user" and "pass" to the chap and pap secrets files.

When running:

CODE
pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute usepeerdns debug nodetach


Everything looks positive, primary and secondary dns are picked up but the following lines do appear:
Could not determine remote IP address: defaulting to 10.64.64.64
Cannot determine ethernet address for proxy ARP

The terminal finishes with a flashing cursor after:
Script /etc/ppp/ip-up finished (pid 1486). status = 0x0

I have to Ctrl-C to get back to prompt... Any suggestions where to go next?

Many thanks!
Alex
Go to the top of the page
 
+Quote Post
domi007
post Jun 19 2008, 05:53 AM
Post #469





Group: Members
Posts: 21
Joined: 18-June 08
Member No.: 21,942



QUOTE(linuxFreq @ Jun 19 2008, 01:14 PM) *
Hi,

Was just wondering about the acx driver. Does titchy come with the latest version?

This tutorial here (http://acx100.sourceforge.net/wiki/Distribution_list/Debian) says that the acx-100 driver is in the contrib repo and was just wondering if i should try install it.

I've found wifi to be stable for browsing simple websites but try an apt-get install xxx and you're lucky if it lasts 20 seconds...


I heard, that it isn't so easy: the chip in the Universal is not the same as the chip supported by this driver.
Therefore you must have other/modified files also (mem.c for example), and this files aren't debugged, but they are from the driver originally written for the hp hx4700, which is also a little bit different as the Uni. So, the small differences and the modified files together cause the stability problems. I tried to contact with the last people, who has updated and modified the driver, but he doesn't answer....


Sam Liddicott:
Thank you, but how can I write > character with the keyboard of the Universal? blink.gif

MOD:
I could do it already (i mounted the partition, and modified the file with my pc), but it isn't working nevertheless. I applied all the settings, but nothing. Ping command says:
ping www.google.com
ping: unknown host www.google.com

But, in Windows, it says already that "USB Network is connected", but I cannot ping anything. (I also shared my network connection with the "USB Network")

ifconfig usb0 up says nothing bad, runs normal without error messages.

DOMy
Go to the top of the page
 
+Quote Post
datathief
post Jun 19 2008, 06:24 AM
Post #470





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(Flameweaver @ Jun 19 2008, 12:33 PM) *
The terminal finishes with a flashing cursor after:
Script /etc/ppp/ip-up finished (pid 1486). status = 0x0

I have to Ctrl-C to get back to prompt... Any suggestions where to go next?

Many thanks!
Alex

At that point you are connected. Move to a different terminal (alt+right/left) and try to ping something. Alternatively remove "debug noattach" from the pppd command and it will run in the background.
Go to the top of the page
 
+Quote Post
datathief
post Jun 19 2008, 06:30 AM
Post #471





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(datathief @ Jun 12 2008, 08:05 PM) *
QUOTE(ShiroiKuma @ Jun 12 2008, 06:50 PM) *
Other than that, no criticism intended, I think MMS support is much more necessary than these eye-candy things, but that might be a tough cookie to implement from what I've read in various places so far.

I have no need for MMS support, but it should be possible to pass the URL from a "push" SMS message to something that can download it and decode it. Sending MMS, IIRC, is done via an internet connection. The software to do all this may already exist.

Uploaded a new version of titchy-phone-daemon. If an MMS message is received, it will be treated as SMS, but the URL of the MMS will be passed to the event.d scripts as $4. What happens next is someone else's problem, I'm afraid, but I think downloading and decoding a simple picture message should be quite simple.

Edit: This project can apparently encode, decode and send MMS.
Go to the top of the page
 
+Quote Post
datathief
post Jun 19 2008, 07:32 AM
Post #472





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(domi007 @ Jun 19 2008, 01:53 PM) *
Thank you, but how can I write > character with the keyboard of the Universal? blink.gif

http://wiki.neilandtheresa.co.uk/Titchy_Linux/Tips/Keyboard
Go to the top of the page
 
+Quote Post
domi007
post Jun 19 2008, 08:47 AM
Post #473





Group: Members
Posts: 21
Joined: 18-June 08
Member No.: 21,942



QUOTE(datathief @ Jun 19 2008, 05:32 PM) *
QUOTE(domi007 @ Jun 19 2008, 01:53 PM) *
Thank you, but how can I write > character with the keyboard of the Universal? blink.gif

http://wiki.neilandtheresa.co.uk/Titchy_Linux/Tips/Keyboard



Thank you, second time too!

But, could someone say something to this:
QUOTE(domi007)
MOD:
I could do it already (i mounted the partition, and modified the file with my pc), but it isn't working nevertheless. I applied all the settings, but nothing. Ping command says:
ping www.google.com
ping: unknown host www.google.com

But, in Windows, it says already that "USB Network is connected", but I cannot ping anything. (I also shared my network connection with the "USB Network")

ifconfig usb0 up says nothing bad, runs normal without error messages.


Thanks!
DOMy
Go to the top of the page
 
+Quote Post
datathief
post Jun 20 2008, 01:25 AM
Post #474





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(domi007 @ Jun 19 2008, 04:47 PM) *
I could do it already (i mounted the partition, and modified the file with my pc), but it isn't working nevertheless. I applied all the settings, but nothing. Ping command says:
ping www.google.com
ping: unknown host www.google.com

But, in Windows, it says already that "USB Network is connected", but I cannot ping anything. (I also shared my network connection with the "USB Network")

ifconfig usb0 up says nothing bad, runs normal without error messages.

Does:
CODE
ping 66.102.9.147

do anything?

Can you post the output of running ipconfig on the Windows machine, and ifconfig on the phone?
Go to the top of the page
 
+Quote Post
domi007
post Jun 20 2008, 08:56 AM
Post #475





Group: Members
Posts: 21
Joined: 18-June 08
Member No.: 21,942



QUOTE(datathief @ Jun 20 2008, 11:25 AM) *
Does:
CODE
ping 66.102.9.147

do anything?

Can you post the output of running ipconfig on the Windows machine, and ifconfig on the phone?


No, "Destination Host is Unreachable".

ipconfig on my Windows machine (translated)

CODE
Windows IP configuration


Ethernet-adapter VMware Network Adapter VMnet8:

        Connection-specific DNS Suffix. . . . :
        IP-adress. . . . . . . . . . . . . . . . : 192.168.1.100
        Subnet Mask. . . . . . . . . . . : 255.255.255.0
        Default Gateway. . . . . . . . : 192.168.1.1

Ethernet-adapter Local Connection:

        Connection-specific DNS Suffix. . . . :
        IP-adress. . . . . . . . . . . . . . . . : 10.0.0.40
        Subnet mask. . . . . . . . . . . : 255.255.255.0
        Default gateway. . . . . . . . : 10.0.0.40

PPP-adapter [my_internet_connection]:

        Connection-specific DNS Suffix. . . . :
        IP-adress. . . . . . . . . . . . . . . . : 212.183.66.233
        Subnet mask. . . . . . . . . . . : 255.255.255.255
        Default gateway. . . . . . . . : 212.183.66.233

Ethernet-adapter USB Network:

        Connection-specific DNS Suffix. . . . :
        IP-adress. . . . . . . . . . . . . . . . : 192.168.0.1
        Subnet mask. . . . . . . . . . . : 255.255.255.0
        Default gateway. . . . . . . . :


ifconfig on my HTC Universal (only the usb0 connection):
CODE
usb0             Link encap:Ethernet   HWADDR 42:41:9C:2e:14:79
                 inet addr: 192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
                 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                 RX packets:82 errors:0 dropped:0 overruns:0 frame:0
                 TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
                 collisions:0 txqueuelen:1000
                 RX bytes:20439 (19.9KiB)   TX bytes: 5675 (5.5 KiB)


That's it, thank you!
DOMy
Go to the top of the page
 
+Quote Post
datathief
post Jun 20 2008, 02:13 PM
Post #476





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(domi007 @ Jun 20 2008, 04:56 PM) *
ifconfig on my HTC Universal (only the usb0 connection):
CODE
usb0             Link encap:Ethernet   HWADDR 42:41:9C:2e:14:79
                 inet addr: 192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
                 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                 RX packets:82 errors:0 dropped:0 overruns:0 frame:0
                 TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
                 collisions:0 txqueuelen:1000
                 RX bytes:20439 (19.9KiB)   TX bytes: 5675 (5.5 KiB)


That's it, thank you!
DOMy

The phone's IP address is wrong. Try:
CODE
ifconfig usb0 192168.0.2

Go to the top of the page
 
+Quote Post
datathief
post Jun 20 2008, 02:18 PM
Post #477





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



I've added a package of network settings and scripts.

It takes care of the USB settings, GPRS (including dial-on-demand), and WiFi (including powering it down on suspend, and lowering the speed for extra stability).

It's not fully tested at this stage. Anyone want to give it a try?

Edit: Also fixed a bug in titchy-phone-daemon that stopped GPRS working.

Edit2: Another titchy-phone-daemon update. Running "/etc/init.d/titchy-phone-daemon stop" now unregisters from the network, allowing "flight mode".
Go to the top of the page
 
+Quote Post
domi007
post Jun 21 2008, 07:04 AM
Post #478





Group: Members
Posts: 21
Joined: 18-June 08
Member No.: 21,942



Hi datathief,
First of all, if you think, you can add my installation guide to the Wiki page.
Here can you find it: http://forum.xda-developers.com/showpost.p...;postcount=2056

Second I tried the IP address, but the ping command says now:
CODE
connect: Network is unreachable


DOMy
Go to the top of the page
 
+Quote Post
datathief
post Jun 21 2008, 03:16 PM
Post #479





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(domi007 @ Jun 21 2008, 03:04 PM) *
Second I tried the IP address, but the ping command says now:
CODE
connect: Network is unreachable

Maybe you need to do:
CODE
route add default gw 192.168.0.1


Or you could try installing titchy-network-settings and just:
CODE
ifup usb0
Go to the top of the page
 
+Quote Post
domi007
post Jun 22 2008, 12:49 AM
Post #480





Group: Members
Posts: 21
Joined: 18-June 08
Member No.: 21,942



QUOTE(datathief @ Jun 22 2008, 01:16 AM) *
QUOTE(domi007 @ Jun 21 2008, 03:04 PM) *
Second I tried the IP address, but the ping command says now:
CODE
connect: Network is unreachable

Maybe you need to do:
CODE
route add default gw 192.168.0.1


Or you could try installing titchy-network-settings and just:
CODE
ifup usb0



I will try titchy-network-settings.

But, dpkg says, that titchy-network-settings depends on titchy-phone-daemon and titchy-hardware-support. If I try to install these packages, dpkg says, that they are already installed by htcunid package (therefore there is a conflict). Should I replace the htcunid packages with the two, mentioned above?

Mod:
I had to uninstall the htcunid package, and now I have all the packages installed, and I did ifup usb0, it said: ifup: interface usb0 already configured, but ping doesn't work....I have to think, that something with my Windows isn't okay, but I don't know, what.
I shared the internet connection with the USB network, whatelse can I do..?
It is very nerve-racking.

Thank You!
DOMy
Go to the top of the page
 
+Quote Post

44 Pages V  « < 30 31 32 33 34 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th August 2017 - 06:01 AM